Estimator cleanup

This commit is contained in:
Lorenz Meier
2016-07-06 13:37:46 +02:00
parent 332f669d9b
commit 703141d650
2 changed files with 2 additions and 44 deletions
+1 -23
View File
@@ -5,29 +5,7 @@
# #
#--------------------------------------- ekf2 start
# 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
#---------------------------------------
mc_att_control start mc_att_control start
+1 -21
View File
@@ -9,27 +9,7 @@
#--------------------------------------- #---------------------------------------
# Estimator group selction # Estimator group selction
# #
# INAV ekf2 start
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 vtol_att_control start
mc_att_control start mc_att_control start