AP_NavEKF3: Reset covariance if bad mag fusion update

This commit is contained in:
priseborough 2017-04-27 16:39:49 +10:00 committed by Andrew Tridgell
parent 18b66f9eed
commit f208986d43

View File

@ -695,6 +695,8 @@ void NavEKF3_core::FuseMagnetometer()
} else if (obsIndex == 2) {
faultStatus.bad_zmag = true;
}
CovarianceInit();
return;
}
}
}