diff options
author | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
commit | 8a365179eafdf3aea98e60ab9f5882b200d4c759 (patch) | |
tree | 4f38d6d4cd80bd0b6e22e2bb534c3f117ce44e56 /ROMFS/scripts/rc.sensors | |
download | px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.gz px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.bz2 px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.zip |
Fresh import of the PX4 firmware sources.
Diffstat (limited to 'ROMFS/scripts/rc.sensors')
-rw-r--r-- | ROMFS/scripts/rc.sensors | 28 |
1 files changed, 28 insertions, 0 deletions
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 |