aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-06-27 13:29:04 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-06-27 13:29:04 +0200
commit615277d346e60afd74a9223d5b5f8a20b7b47ece (patch)
treeb9bddc5be774bbf41d9ed468edda080eabe6f6ed /src/modules
parent7f41ec52f15191f7a0bbc0ec32301c3135184840 (diff)
downloadpx4-firmware-615277d346e60afd74a9223d5b5f8a20b7b47ece.tar.gz
px4-firmware-615277d346e60afd74a9223d5b5f8a20b7b47ece.tar.bz2
px4-firmware-615277d346e60afd74a9223d5b5f8a20b7b47ece.zip
Better comments in estimator
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ekf_att_pos_estimator/estimator_23states.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
index 1a2151017..c122b3e51 100644
--- a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
+++ b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
@@ -2390,6 +2390,8 @@ int AttPosEKF::CheckAndBound()
ret = 5;
}
+ // The excessive covariance detection already
+ // reset the filter. Just need to report here.
if (current_ekf_state.covariancesExcessive) {
FillErrorReport(&last_ekf_error);
current_ekf_state.covariancesExcessive = false;