Replies: 4 comments 1 reply
-
|
Edit: q and qd are analogous to qpos and qvel in MuJoCo land. If you're referring to a free joint, qvel[0:3] will be the linear velocity in the global frame and qvel[3:6] will be the angular velocity in the local body frame |
Beta Was this translation helpful? Give feedback.
-
|
No, you could find in the mujoco documentation, the qvel[3:6] is the angular velocity in the local body frame. some discussion here: You can check this:
|
Beta Was this translation helpful? Give feedback.
-
|
In the forward function in this code: you transform the qd[:, 3:6] to the xd, so the qd[:, 3:6] is in the local frame. https://github.com/google/brax/blob/main/brax/kinematics.py#L51 |
Beta Was this translation helpful? Give feedback.
-
|
Any news about this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it correct that in
State.qd:State.qd[0:3]represents the linear velocity in the world frame, andState.qd[3:6]represents the angular velocity in the local body frame?Are there any document for these?
https://github.com/google/brax/blob/main/brax/generalized/base.py#L71
Beta Was this translation helpful? Give feedback.
All reactions