EKF: add struct to capture state reset events

This commit is contained in:
Paul Riseborough
2016-06-01 17:13:00 +10:00
parent 65da9173b9
commit 4237269fab
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ 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()