ekf2: replace vehicle_imu lost error message with perf count

This commit is contained in:
Daniel Agar
2021-03-31 22:07:32 -04:00
parent 00f86eb895
commit 846695f986
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -176,6 +176,7 @@ private:
perf_counter_t _ecl_ekf_update_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": ECL update")};
perf_counter_t _ecl_ekf_update_full_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": ECL full update")};
perf_counter_t _imu_missed_perf{perf_alloc(PC_COUNT, MODULE_NAME": IMU message missed")};
// Used to check, save and use learned magnetometer biases
hrt_abstime _mag_cal_last_us{0}; ///< last time the EKF was operating a mode that estimates magnetomer biases (uSec)