EKF add const state reset status access

This commit is contained in:
Daniel Agar
2021-02-16 10:33:43 -05:00
committed by GitHub
parent 0c5291d194
commit 310f415175
+2
View File
@@ -226,6 +226,8 @@ public:
// get GPS check status // get GPS check status
void get_gps_check_status(uint16_t *val) const { *val = _gps_check_fail_status.value; } void get_gps_check_status(uint16_t *val) const { *val = _gps_check_fail_status.value; }
const auto &state_reset_status() const { return _state_reset_status; }
// return the amount the local vertical position changed in the last reset and the number of reset events // return the amount the local vertical position changed in the last reset and the number of reset events
void get_posD_reset(float *delta, uint8_t *counter) const void get_posD_reset(float *delta, uint8_t *counter) const
{ {