px4-firmware/ROMFS/scripts/rc.sensors

29 lines
363 B
Plaintext
Raw Normal View History

#!nsh
#
# Standard startup script for PX4FMU onboard sensor drivers.
#
#
# Start sensor drivers here.
#
2012-08-22 11:34:53 -03:00
ms5611 start
mpu6000 start
hmc5883 start
#
# Start the sensor collection task.
#
sensors start
#
# Test sensor functionality
#
# XXX integrate with 'sensors start' ?
#
#if sensors quicktest
#then
# echo "[init] sensor initialisation FAILED."
# reboot
#fi