AP_NavEKF2: Reduce false positive on EKF health check
Apply filtering to baro innovation check and and don't apply innovation checks once aiding has commenced because GPS and baro disturbances on the ground and during launch could generate a false positive
master
Paul Riseborough9 years agocommitted byAndrew Tridgell
floatyawTestRatio;// square of magnetometer yaw angle innovation divided by fail threshold
floatyawTestRatio;// square of magnetometer yaw angle innovation divided by fail threshold
QuaternionprevQuatMagReset;// Quaternion from the last time the magnetic field state reset condition test was performed
QuaternionprevQuatMagReset;// Quaternion from the last time the magnetic field state reset condition test was performed
uint8_tfusionHorizonOffset;// number of IMU samples that the fusion time horizon has been shifted forward to prevent multiple EKF instances fusing data at the same time
uint8_tfusionHorizonOffset;// number of IMU samples that the fusion time horizon has been shifted forward to prevent multiple EKF instances fusing data at the same time
floathgtInnovFiltState;// state used for fitering of the height innovations used for pre-flight checks
// variables used to calulate a vertical velocity that is kinematically consistent with the verical position
// variables used to calulate a vertical velocity that is kinematically consistent with the verical position
floatposDownDerivative;// Rate of chage of vertical position (dPosD/dt) in m/s. This is the first time derivative of PosD.
floatposDownDerivative;// Rate of chage of vertical position (dPosD/dt) in m/s. This is the first time derivative of PosD.