px4-firmware/ROMFS/scripts/rc.sensors

29 lines
363 B
Plaintext

#!nsh
#
# Standard startup script for PX4FMU onboard sensor drivers.
#
#
# Start sensor drivers here.
#
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