mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 18:00:36 +08:00
shouldUse321RotationSequence(const Dcmf& R)
This commit is contained in:
committed by
Paul Riseborough
parent
4872f2a545
commit
15afa8ae17
@@ -58,3 +58,7 @@ matrix::Dcmf quatToInverseRotMat(const matrix::Quatf &quat)
|
||||
|
||||
return dcm;
|
||||
}
|
||||
|
||||
bool shouldUse321RotationSequence(const matrix::Dcmf& R) {
|
||||
return fabsf(R(2, 0)) < fabsf(R(2, 1));
|
||||
}
|
||||
Reference in New Issue
Block a user