Ardupilot2/libraries/AP_NavEKF
Paul Riseborough a232606fc9 AP_NavEKF: Prevent EKF yaw errors due to fast yaw spins
Prolonged yaw rotations with gyro scale factor errors can cause yaw errors and gyro bias estimation errors to build up to a point where EKF health checks fail.
This patch introduces the following protections:

1) The assumed yaw gyro error is scaled using a filtered yaw rate and an assumed 3% scale factor error (MPU6000 data sheet)
2) When the filtered yaw rate magnitude is greater than 1 rad/sec, the Z gyro bias process noise is zeroed and the state variance set to zero to inhibit modification of the bias state
3) When the filtered yaw rate magnitude is greater than 1 rad/sec, the magnetometer quaternion corrections are scaled by a factor of four to maintain tighter alignment with the compass
2015-05-08 16:47:31 +09:00
..
Models AP_NavEKF: Add Matlab derivations and simulations behind small EKF 2015-04-10 11:07:21 +09:00
AP_Nav_Common.h AP_NavEKF: Add takeoff and touchdown expected to reported filter status 2015-05-01 16:37:19 +09:00
AP_NavEKF.cpp AP_NavEKF: Prevent EKF yaw errors due to fast yaw spins 2015-05-08 16:47:31 +09:00
AP_NavEKF.h AP_NavEKF: Prevent EKF yaw errors due to fast yaw spins 2015-05-08 16:47:31 +09:00
AP_SmallEKF.cpp AP_NavEKF: compiler warnings: float to double 2015-05-05 13:26:52 +10:00
AP_SmallEKF.h AP_SmallEKF: add function to report if the EKF is stable 2015-04-21 21:45:29 +09:00