Report excessive covariances

This commit is contained in:
Lorenz Meier
2014-06-12 15:57:13 +02:00
parent 3685ec5c97
commit a419a2ebf3
@@ -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;
}