mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 13:03:33 +08:00
EKF: move the reset status struct to the Ekf class
This protects it from being modified externally
This commit is contained in:
@@ -71,7 +71,6 @@ EstimatorInterface::EstimatorInterface():
|
||||
_pos_ref = {};
|
||||
memset(_mag_test_ratio, 0, sizeof(_mag_test_ratio));
|
||||
memset(_vel_pos_test_ratio, 0, sizeof(_vel_pos_test_ratio));
|
||||
_state_reset_status = {};
|
||||
}
|
||||
|
||||
EstimatorInterface::~EstimatorInterface()
|
||||
|
||||
Reference in New Issue
Block a user