Add mju_euler2Quat.
PiperOrigin-RevId: 623469398 Change-Id: Ia86b29a764018cd4c3bc57d23616bed7393081f5
This commit is contained in:
committed by
Copybara-Service
parent
2b3f336bd3
commit
5a365603f8
@@ -2840,6 +2840,16 @@ mju_quatZ2Vec
|
||||
|
||||
Construct quaternion performing rotation from z-axis to given vector.
|
||||
|
||||
.. _mju_euler2Quat:
|
||||
|
||||
mju_euler2Quat
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mju_euler2Quat
|
||||
|
||||
Convert sequence of Euler angles (radians) to quaternion.
|
||||
seq[0,1,2] must be in 'xyzXYZ', lower/upper-case mean intrinsic/extrinsic rotations.
|
||||
|
||||
.. _Poses:
|
||||
|
||||
Poses
|
||||
|
||||
Reference in New Issue
Block a user