mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_NavEKF: Add missing function to return the NED to XYZ quaternion
This commit is contained in:
parent
2c4572eb50
commit
dd1e0b2f0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user