ekf2: push mag cal reset to delayed time horizon

This commit is contained in:
Daniel Agar
2022-12-13 10:24:02 -05:00
parent 57b82af3a0
commit 805ffa9d0b
5 changed files with 32 additions and 34 deletions
+1
View File
@@ -205,6 +205,7 @@ struct gpsSample {
struct magSample {
uint64_t time_us{}; ///< timestamp of the measurement (uSec)
Vector3f mag{}; ///< NED magnetometer body frame measurements (Gauss)
bool reset{false}; ///< magnetometer changed (different sensor or calibration change)
};
struct baroSample {