From 8a365179eafdf3aea98e60ab9f5882b200d4c759 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 4 Aug 2012 15:12:36 -0700 Subject: Fresh import of the PX4 firmware sources. --- ROMFS/scripts/rc.sensors | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ROMFS/scripts/rc.sensors (limited to 'ROMFS/scripts/rc.sensors') diff --git a/ROMFS/scripts/rc.sensors b/ROMFS/scripts/rc.sensors new file mode 100644 index 000000000..7515c1947 --- /dev/null +++ b/ROMFS/scripts/rc.sensors @@ -0,0 +1,28 @@ +#!nsh +# +# Standard startup script for PX4FMU onboard sensor drivers. +# + +# +# Start sensor drivers here. +# + +#ms5611 start + +# +# Start the sensor collection task. +# +# XXX should be 'sensors start' +# +sensors & + +# +# Test sensor functionality +# +# XXX integrate with 'sensors start' ? +# +#if sensors quicktest +#then +# echo "[init] sensor initialisation FAILED." +# reboot +#fi -- cgit v1.2.3