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:
Daniel Agar
2024-06-28 16:45:08 -04:00
committed by GitHub
parent 408d8abe95
commit 0742d356f5
3 changed files with 26 additions and 13 deletions
+4 -1
View File
@@ -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();
}