mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 16:40:35 +08:00
Report excessive covariances
This commit is contained in:
@@ -2376,6 +2376,12 @@ int AttPosEKF::CheckAndBound()
|
||||
ret = 5;
|
||||
}
|
||||
|
||||
if (current_ekf_state.covariancesExcessive) {
|
||||
FillErrorReport(&last_ekf_error);
|
||||
current_ekf_state.covariancesExcessive = false;
|
||||
ret = 6;
|
||||
}
|
||||
|
||||
if (ret) {
|
||||
ekfDiverged = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user