mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
EKF add const state reset status access
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user