ekf2: split resetMagCov() and skip mag reset if negligible change

This commit is contained in:
Daniel Agar
2024-08-27 16:16:55 +02:00
committed by Mathieu Bresciani
parent bbcf741e9e
commit 9d57a3c02f
4 changed files with 56 additions and 34 deletions
+2 -1
View File
@@ -1108,7 +1108,8 @@ private:
void resetQuatCov(const Vector3f &rot_var_ned);
#if defined(CONFIG_EKF2_MAGNETOMETER)
void resetMagCov();
void resetMagEarthCov();
void resetMagBiasCov();
#endif // CONFIG_EKF2_MAGNETOMETER
#if defined(CONFIG_EKF2_WIND)