diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-27 15:00:48 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-27 15:00:48 +0200 |
commit | 6951e1c95e3b58c35a031aff92b228b3f651a94c (patch) | |
tree | 7a267277eac035c6bec0276bb5f25b90ecd4517c /src/modules/ekf_att_pos_estimator/estimator_utilities.h | |
parent | dbd99b649442bbb2568ca309c5da61337d1e4b68 (diff) | |
download | px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.tar.gz px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.tar.bz2 px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.zip |
estimator lib: Improve error reporting
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator_utilities.h')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_utilities.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_utilities.h b/src/modules/ekf_att_pos_estimator/estimator_utilities.h index e5f76d7cd..97f22b453 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_utilities.h +++ b/src/modules/ekf_att_pos_estimator/estimator_utilities.h @@ -53,12 +53,14 @@ enum GPS_FIX { }; struct ekf_status_report { + bool error; bool velHealth; bool posHealth; bool hgtHealth; bool velTimeout; bool posTimeout; bool hgtTimeout; + bool imuTimeout; uint32_t velFailTime; uint32_t posFailTime; uint32_t hgtFailTime; @@ -74,6 +76,7 @@ struct ekf_status_report { bool statesNaN; bool gyroOffsetsExcessive; bool covariancesExcessive; + bool velOffsetExcessive; }; void ekf_debug(const char *fmt, ...);
\ No newline at end of file |