2012-08-04 19:12:36 -03:00
|
|
|
#!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
|
2012-08-04 19:12:36 -03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Start the sensor collection task.
|
|
|
|
#
|
2012-08-19 11:32:54 -03:00
|
|
|
sensors start
|
2012-08-04 19:12:36 -03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test sensor functionality
|
|
|
|
#
|
|
|
|
# XXX integrate with 'sensors start' ?
|
|
|
|
#
|
|
|
|
#if sensors quicktest
|
|
|
|
#then
|
|
|
|
# echo "[init] sensor initialisation FAILED."
|
|
|
|
# reboot
|
|
|
|
#fi
|