Which Bodies does MuJoCo.Humanoid have
See original GitHub issueQuestion
Mujoco.Humanoid’s documentation says it has 14 bodies (nbody=14
)
https://gymnasium.farama.org/environments/mujoco/humanoid/
but I can only count 13 in the xml file
https://github.com/Farama-Foundation/Gymnasium/blob/main/gymnasium/envs/mujoco/assets/humanoid.xml
# bodies
torso = 0
lwaist = 1
pelvis = 2
right_thigh = 3
right_sin = 4
right_foot = 5
left_thigh = 6
left_sin = 7
left_foot = 8
right_upper_arm = 9
right_lower_arm = 10
left_upper_arm = 11
left_lower_arm = 12
am I missing something, which is the 14th body
Thanks!
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Humanoid - Gym Documentation
The 3D bipedal robot is designed to simulate a human. It has a torso (abdomen) with a pair of legs and arms. The...
Read more >MuJoCo Documentation: Overview
MuJoCo can model the 3D geometry of tendons - which are minimum-path-length strings obeying wrapping and via-point constraints. The mechanism is similar to...
Read more >MuJoCo Overview
We compared MuJoCo and SD/FAST on four model systems: isolated bodies, a chain, a hand, and a humanoid model.
Read more >mujoco/humanoid.xml at main · deepmind/mujoco - GitHub
A general purpose physics simulator. - mujoco/humanoid.xml at main · deepmind/mujoco. ... distributed under the License is distributed on an "AS IS" BASIS,....
Read more >MuJoCo Environments - endtoend.ai
MuJoCo (Multi-Joint dynamics with Contact) is a proprietary physics engine for detailed, efficient rigid body simulations with contacts. MuJoCo can be used ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Damn it, Was really hoping the answer, would not be
worldbody
Yes, this is another redundant observation. Reading the MuJoCo docs I found an explanation (https://mujoco.readthedocs.io/en/latest/computation.html?highlight=moment arms#actuation-model)
qfrc_actuator
is the actuator force in joint coordinates,joint_moment_arm * actuator_force
(including joints without actuators,nv
size). This means that the free joint of the head is also included in theqfrc_actuator
vector and will always be 0. Then there is this other attributedata.actuator_force
which returns the actuator output torques (sizenu
) and is equal to the Gymnasium action sinceHumanoid
usesmotor
actuators.My suggestion is to keep
qfrc_actuator
in the observation space since the joint moment arms is relevant for extracting information about the bodies inertia but removing the elements related to the un-actuated free joint.