aboutsummaryrefslogblamecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.mc_apps
blob: a28ff1bbe15297283b88ba4a0c9c80ca6bfcd7d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

     

                                         

 



                                             
                                  



                                     
 





                                       






                                       



                     
                               
#!nsh
#
# Standard apps for multirotors:
# att & pos estimator, att & pos control.
#

# previously (2014) the system was relying on
# INAV, which defaults to 0 now. 
if param compare INAV_ENABLED 1
then
	attitude_estimator_q start
	position_estimator_inav start
else
	ekf_att_pos_estimator start
fi

if mc_att_control start
then
else
	# try the multiplatform version
	mc_att_control_m start
fi

if mc_pos_control start
then
else
	# try the multiplatform version
	mc_pos_control_m start
fi

#
# Start Land Detector
#
land_detector start multicopter