// returns a zero rotation quaternion if the INS calculation was not performed on that time step.
// returns a zero rotation quaternion if the INS calculation was not performed on that time step.
QuaterniongetDeltaQuaternion(void)const;
QuaterniongetDeltaQuaternion(void)const;
// return the amount of yaw angle change due to the last yaw angle reset in radians
// returns true if a reset yaw angle has been updated and not queried
// this function should not have more than one client
boolgetLastYawResetAngle(float&yawAng);
staticconststructAP_Param::GroupInfovar_info[];
staticconststructAP_Param::GroupInfovar_info[];
private:
private:
@ -668,6 +673,8 @@ private:
boolhighYawRate;// true when the vehicle is doing rapid yaw rotation where gyro scel factor errors could cause loss of heading reference
boolhighYawRate;// true when the vehicle is doing rapid yaw rotation where gyro scel factor errors could cause loss of heading reference
floatyawRateFilt;// filtered yaw rate used to determine when the vehicle is doing rapid yaw rotation where gyro scel factor errors could cause loss of heading reference
floatyawRateFilt;// filtered yaw rate used to determine when the vehicle is doing rapid yaw rotation where gyro scel factor errors could cause loss of heading reference
booluseGpsVertVel;// true if GPS vertical velocity should be used
booluseGpsVertVel;// true if GPS vertical velocity should be used
floatyawResetAngle;// Change in yaw angle due to last in-flight yaw reset in radians. A positive value means the yaw angle has increased.
boolyawResetAngleWaiting;// true when the yaw reset angle has been updated and has not been retrieved via the getLastYawResetAngle() function
// Used by smoothing of state corrections
// Used by smoothing of state corrections
Vector10gpsIncrStateDelta;// vector of corrections to attitude, velocity and position to be applied over the period between the current and next GPS measurement
Vector10gpsIncrStateDelta;// vector of corrections to attitude, velocity and position to be applied over the period between the current and next GPS measurement