You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
696 B
44 lines
696 B
#!nsh |
|
# |
|
# Standard apps for vtol: |
|
# att & pos estimator, att & pos control. |
|
# |
|
# |
|
|
|
|
|
#--------------------------------------- |
|
# Estimator group selction |
|
# |
|
# INAV |
|
if param compare SYS_MC_EST_GROUP 0 |
|
then |
|
attitude_estimator_q start |
|
position_estimator_inav start |
|
fi |
|
|
|
# LPE |
|
if param compare SYS_MC_EST_GROUP 1 |
|
then |
|
attitude_estimator_q start |
|
local_position_estimator start |
|
fi |
|
|
|
# EKF |
|
if param compare SYS_MC_EST_GROUP 2 |
|
then |
|
ekf2 start |
|
fi |
|
#--------------------------------------- |
|
|
|
|
|
vtol_att_control start |
|
mc_att_control start |
|
mc_pos_control start |
|
fw_att_control start |
|
fw_pos_control_l1 start |
|
|
|
# |
|
# Start Land Detector |
|
# Multicopter for now until we have something for VTOL |
|
# |
|
land_detector start vtol
|
|
|