px4-firmware/ROMFS/scripts/rc.sensors

29 lines
366 B
Plaintext
Raw Normal View History

#!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