mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-23 00:56:43 +08:00
ekf2: move gnss_checks to their own class
This commit is contained in:
committed by
Mathieu Bresciani
parent
2dbce4d958
commit
c33d79cfb4
@@ -94,8 +94,7 @@ void Ekf::reset()
|
||||
_innov_check_fail_status.value = 0;
|
||||
|
||||
#if defined(CONFIG_EKF2_GNSS)
|
||||
resetGpsDriftCheckFilters();
|
||||
_gps_checks_passed = false;
|
||||
_gnss_checks.resetHard();
|
||||
#endif // CONFIG_EKF2_GNSS
|
||||
_local_origin_alt = NAN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user