mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 12:43:34 +08:00
Remove outdated filter version check
This commit is contained in:
@@ -9,18 +9,7 @@
|
|||||||
# filter by setting INAV_ENABLED = 0
|
# filter by setting INAV_ENABLED = 0
|
||||||
if param compare INAV_ENABLED 1
|
if param compare INAV_ENABLED 1
|
||||||
then
|
then
|
||||||
# The system is defaulting to EKF_ATT_ENABLED = 1
|
attitude_estimator_q start
|
||||||
# and uses the older EKF filter. However users can
|
|
||||||
# enable the new quaternion based complimentary
|
|
||||||
# filter by setting EKF_ATT_ENABLED = 0.
|
|
||||||
# Note that on FMUv1, the EKF att estimator is not
|
|
||||||
# available and the Q estimator runs instead.
|
|
||||||
if param compare EKF_ATT_ENABLED 1
|
|
||||||
then
|
|
||||||
attitude_estimator_ekf start
|
|
||||||
else
|
|
||||||
attitude_estimator_q start
|
|
||||||
fi
|
|
||||||
position_estimator_inav start
|
position_estimator_inav start
|
||||||
else
|
else
|
||||||
ekf_att_pos_estimator start
|
ekf_att_pos_estimator start
|
||||||
|
|||||||
Reference in New Issue
Block a user