mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-25 18:46:37 +08:00
ekf2: more conservative clipping checks for bad_acc_clipping fault status (#23337)
- track accel clipping count per axis - only set bad_acc_clipping fault_status if at least one axis is clipping continuously or if all have been clipping at warning level - Note: this doesn't impact the clipping projections that boost the accel process noise, pause bias estimation, and skip gravity fusion on a per sample basis
This commit is contained in:
@@ -127,7 +127,10 @@ void Ekf::reset()
|
||||
|
||||
_time_bad_vert_accel = 0;
|
||||
_time_good_vert_accel = 0;
|
||||
_clip_counter = 0;
|
||||
|
||||
for (auto &clip_count : _clip_counter) {
|
||||
clip_count = 0;
|
||||
}
|
||||
|
||||
_zero_velocity_update.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user