google-deepmind / mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.
https://mujoco.org
Apache License 2.0
7.47k stars 734 forks source link

Rotation of 3 hinge joints with orthogonal axes. #1725

Closed KamatMayur closed 2 weeks ago

KamatMayur commented 2 weeks ago

Hi,

I'm a student and I'm trying to use MuJoCo for my final year engineering project.

I'm looking for some help with how to interpret the rotation of 3 hinge joints with orthogonal hinge axes. If I use the simulate application to play with the values, it appears that the rotations aren't intrinsic or extrinsic euler angles. Neither does the order of rotation seem to affect the final orientation of the body.

The model that im using is taken from here . Can someone please explain it to me? I have a bvh model with the same heirechy and im trying to transfer the animations from the bvh file to this mujoco model. But I'm unable to proceed because I do not understand it.

yuvaltassa commented 2 weeks ago

It means just what it says on the tin. z, then y, then x (intrinsic, of course).

yuvaltassa commented 2 weeks ago

(You should probably load this model in simulate, turn on joint visualization and play with the sliders)