mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:53:33 +08:00
EKF: publish GPS check status
This commit is contained in:
@@ -316,6 +316,12 @@ void Ekf::get_heading_innov_var(float *heading_innov_var)
|
||||
memcpy(heading_innov_var, &_heading_innov_var, sizeof(float));
|
||||
}
|
||||
|
||||
// get GPS check status
|
||||
void Ekf::get_gps_check_status(uint16_t *val)
|
||||
{
|
||||
memcpy(val, &_gps_check_fail_status, sizeof(uint16_t));
|
||||
}
|
||||
|
||||
// get the state vector at the delayed time horizon
|
||||
void Ekf::get_state_delayed(float *state)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user