ekf2: stop mag fusion on numerical error

This commit is contained in:
Daniel Agar
2024-07-11 12:19:50 -04:00
parent 33be5d8356
commit b425253a54
@@ -101,6 +101,8 @@ bool Ekf::fuseMag(const Vector3f &mag, const float R_MAG, VectorState &H, estima
resetMagCov();
stopMagFusion();
return false;
}