mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
Estimator cleanup
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user