2013-08-24 15:32:46 -03:00
|
|
|
#!nsh
|
|
|
|
#
|
2014-02-01 10:46:04 -04:00
|
|
|
# Standard apps for multirotors:
|
|
|
|
# att & pos estimator, att & pos control.
|
2013-08-24 15:32:46 -03:00
|
|
|
#
|
|
|
|
|
2015-02-27 06:22:43 -04:00
|
|
|
# previously (2014) the system was relying on
|
|
|
|
#attitude_estimator_ekf start
|
|
|
|
#position_estimator_inav start
|
|
|
|
ekf_att_pos_estimator start
|
2013-08-24 15:32:46 -03:00
|
|
|
|
2015-01-09 04:15:48 -04:00
|
|
|
if mc_att_control start
|
|
|
|
then
|
|
|
|
else
|
|
|
|
# try the multiplatform version
|
|
|
|
mc_att_control_m start
|
|
|
|
fi
|
2015-01-28 03:04:00 -04:00
|
|
|
|
|
|
|
if mc_pos_control start
|
|
|
|
then
|
|
|
|
else
|
|
|
|
# try the multiplatform version
|
|
|
|
mc_pos_control_m start
|
|
|
|
fi
|
2015-01-06 06:59:15 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Start Land Detector
|
|
|
|
#
|
2015-01-08 09:22:39 -04:00
|
|
|
land_detector start multicopter
|