diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-04 09:51:14 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-04 09:51:14 +0200 |
commit | 7a6d33ba47ccc65354427518674531e84e28f54c (patch) | |
tree | e835ddcc7cdb5f1336eb4fd46a1680ce8cc412b9 /src/modules/uORB/topics/estimator_status.h | |
parent | ed65d1748e55e156dbf2067521685f804d5aefd6 (diff) | |
download | px4-firmware-7a6d33ba47ccc65354427518674531e84e28f54c.tar.gz px4-firmware-7a6d33ba47ccc65354427518674531e84e28f54c.tar.bz2 px4-firmware-7a6d33ba47ccc65354427518674531e84e28f54c.zip |
Extend estimator status
Diffstat (limited to 'src/modules/uORB/topics/estimator_status.h')
-rw-r--r-- | src/modules/uORB/topics/estimator_status.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/uORB/topics/estimator_status.h b/src/modules/uORB/topics/estimator_status.h index 5530cdb21..7f26b505b 100644 --- a/src/modules/uORB/topics/estimator_status.h +++ b/src/modules/uORB/topics/estimator_status.h @@ -64,9 +64,9 @@ struct estimator_status_report { uint64_t timestamp; /**< Timestamp in microseconds since boot */ float states[32]; /**< Internal filter states */ float n_states; /**< Number of states effectively used */ - bool states_nan; /**< If set to true, one of the states is NaN */ - bool covariance_nan; /**< If set to true, the covariance matrix went NaN */ - bool kalman_gain_nan; /**< If set to true, the Kalman gain matrix went NaN */ + uint8_t nan_flags; /**< Bitmask to indicate NaN states */ + uint8_t health_flags; /**< Bitmask to indicate sensor health states (vel, pos, hgt) */ + uint8_t timeout_flags; /**< Bitmask to indicate timeout flags (vel, pos, hgt) */ }; |