AP_NavEKF: Add missing function to return the NED to XYZ quaternion

This commit is contained in:
Paul Riseborough 2015-04-28 07:41:01 +10:00 committed by Randy Mackay
parent 2c4572eb50
commit dd1e0b2f0b

View File

@ -5119,5 +5119,10 @@ Quaternion NavEKF::getDeltaQuaternion(void) const
return correctedDelAngQuat;
}
// return the quaternions defining the rotation from NED to XYZ (body) axes
void NavEKF::getQuaternion(Quaternion& ret) const
{
ret = state.quat;
}
#endif // HAL_CPU_CLASS