ardupilot/libraries/AP_NavEKF
priseborough 874d0780aa AP_NavEKF: Reduce vulnerability to ground fixed magnetic interference
Re-initialisation of the magnetic field states and yaw angle is now only performed a maximum of two times after start-up.

Once when coming out of static modefor the first time (first arm event)
Again (for copter only) when the altitude gain above the arming altitude exceeds 1.5m

this prevents magnetic interference present at arming (eg arming on a metal roof)from corrupting the magnetic field states enough to cause bad heading errors and toilet bowling on copter
2014-12-05 14:33:04 +11:00
..
AP_NavEKF.cpp AP_NavEKF: Reduce vulnerability to ground fixed magnetic interference 2014-12-05 14:33:04 +11:00
AP_NavEKF.h AP_NavEKF: Reduce vulnerability to ground fixed magnetic interference 2014-12-05 14:33:04 +11:00