mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 07:41:36 +08:00
EKF: Don't reject vertical aiding data if inertial solution is bad
Also reduce clipping count threshold
This commit is contained in:
committed by
Paul Riseborough
parent
c566318db5
commit
e948b3505f
+1
-1
@@ -927,7 +927,7 @@ void Ekf::checkVerticalAccelerationHealth()
|
||||
|
||||
// if vertical velocity and position are independent and agree, then do not require evidence of clipping if
|
||||
// innovations are large
|
||||
const bool bad_vert_accel = (are_vertical_pos_and_vel_independant || _clip_counter > clip_count_limit / 2) &&
|
||||
const bool bad_vert_accel = (are_vertical_pos_and_vel_independant || _clip_counter > 0) &&
|
||||
is_inertial_nav_falling;
|
||||
|
||||
if (bad_vert_accel) {
|
||||
|
||||
Reference in New Issue
Block a user