ekf2-mag: do not reset when NE aiding is active

This commit is contained in:
bresch
2024-05-31 10:38:17 -04:00
committed by Daniel Agar
parent 6515935b52
commit ee765e7859
3 changed files with 4 additions and 24 deletions
@@ -149,10 +149,6 @@ bool Ekf::fuseMag(const Vector3f &mag, const float R_MAG, VectorState &H, estima
bool Ekf::fuseDeclination(float decl_sigma)
{
if (!_control_status.flags.mag) {
return false;
}
float decl_measurement = NAN;
if ((_params.mag_declination_source & GeoDeclinationMask::USE_GEO_DECL)