AP_NavEKF2: remove unused quat2Tbn method

This commit is contained in:
Peter Barker 2020-10-16 14:19:52 +11:00 committed by Andrew Tridgell
parent 0eafe4b662
commit 53305ba2a4
2 changed files with 0 additions and 10 deletions

View File

@ -1502,13 +1502,6 @@ void NavEKF2_core::StoreQuatRotate(const Quaternion &deltaQuat)
outputDataDelayed.quat = outputDataDelayed.quat*deltaQuat;
}
// calculate nav to body quaternions from body to nav rotation matrix
void NavEKF2_core::quat2Tbn(Matrix3f &Tbn, const Quaternion &quat) const
{
// Calculate the body to nav cosine matrix
quat.rotation_matrix(Tbn);
}
// force symmetry on the covariance matrix to prevent ill-conditioning
void NavEKF2_core::ForceSymmetry()
{

View File

@ -594,9 +594,6 @@ private:
// Rotate the stored output quaternion history through a quaternion rotation
void StoreQuatRotate(const Quaternion &deltaQuat);
// calculate nav to body quaternions from body to nav rotation matrix
void quat2Tbn(Matrix3f &Tbn, const Quaternion &quat) const;
// calculate the NED earth spin vector in rad/sec
void calcEarthRateNED(Vector3f &omega, int32_t latitude) const;