转换四元数旋转角度
[
计算旋转角度,rotationAng1
rotationAng2
rotationAng3
) = quat2angle (问
)rotationAng1
,rotationAng2
,rotationAng3
,对于给定的四元数,问
.这个函数中使用的旋转是两个坐标系之间的被动变换。
[
计算旋转角度的集合rotationAng1
rotationAng2
rotationAng3
) = quat2angle (问
,年代
)rotationAng1
,rotationAng2
,rotationAng3
对于给定的四元数,问
,以及指定的旋转序列,年代
.
航空航天工具箱使用使用标量优先约定定义的四元数。这个函数对所有四元数输入进行归一化。
的“ZYX股票”
,“ZXY”
,“YXZ”
,“YZX”
,“XYZ”
,“XZY”
实现生成一个rotationAng2
角度介于±90度之间rotationAng1
和rotationAng3
角度介于±180度之间。
的之一的ZYZ”
,“ZXZ”
,“YXY”
,“YZY”
,“XYX”
,“XZX”
实现生成一个rotationAng2
角度介于0和180度之间rotationAng1
和rotationAng3
角度介于±180度之间。