mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
clang-tidy performance-unnecessary-value-param
This commit is contained in:
parent
a7cdef6c5c
commit
d668a2d798
@ -868,7 +868,7 @@ Vector3f EstimatorInterface::cross_product(const Vector3f &vecIn1, const Vector3
|
||||
}
|
||||
|
||||
// calculate the inverse rotation matrix from a quaternion rotation
|
||||
Matrix3f EstimatorInterface::quat_to_invrotmat(const Quaternion quat)
|
||||
Matrix3f EstimatorInterface::quat_to_invrotmat(const Quaternion& quat)
|
||||
{
|
||||
float q00 = quat(0) * quat(0);
|
||||
float q11 = quat(1) * quat(1);
|
||||
|
||||
@ -380,6 +380,6 @@ protected:
|
||||
Vector3f cross_product(const Vector3f &vecIn1, const Vector3f &vecIn2);
|
||||
|
||||
// calculate the inverse rotation matrix from a quaternion rotation
|
||||
Matrix3f quat_to_invrotmat(const Quaternion quat);
|
||||
Matrix3f quat_to_invrotmat(const Quaternion& quat);
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user