AP_NavEKF3: fix comments

This commit is contained in:
chobits 2020-07-31 14:36:35 +08:00 committed by Peter Barker
parent 4640c24872
commit 4b8be2e535
2 changed files with 2 additions and 2 deletions

View File

@ -1215,7 +1215,7 @@ void NavEKF3::getRotationBodyToNED(Matrix3f &mat) const
}
}
// return the quaternions defining the rotation from NED to XYZ (body) axes
// return the quaternions defining the rotation from XYZ (body) to NED axes
void NavEKF3::getQuaternionBodyToNED(int8_t instance, Quaternion &quat) const
{
if (instance < 0 || instance >= num_cores) instance = primary;

View File

@ -179,7 +179,7 @@ public:
// return the transformation matrix from XYZ (body) to NED axes
void getRotationBodyToNED(Matrix3f &mat) const;
// return the quaternions defining the rotation from NED to XYZ (body) axes
// return the quaternions defining the rotation from XYZ (body) to NED axes
void getQuaternionBodyToNED(int8_t instance, Quaternion &quat) const;
// return the quaternions defining the rotation from NED to XYZ (autopilot) axes