Skip to content

How to Enable Two Hinge Joints with Different Friction in MuJoCo? #2431

Closed Answered by v-r-a
ValentinaGiannotti asked this question in Asking for Help
Discussion options

You must be logged in to vote

Hello, I am a MuJoCo user. Hope the following helps:

I have made the model a bit more legible by adding a light, a geometry, expanding the joint limits, and removing damping.

I hope you can now observe the different friction loss values by loading the XML in the simulate program.

(Enable joint visualisation by pressing J and make the geom transparent with T. Double click to select the geom, Ctrl + right click to drag.)

<mujoco>
  <worldbody>
        <light name="spotlight1" mode="targetbodycom" target="CB" pos="0 0 10" />
       <body name="CB" pos="0 0 5" euler="0 0 0">
            <geom name="g1" type="box" size="0.5 0.5 1" rgba="0.5 0 0.5 1"/>
            <joint name="y" type="hinge" a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuvaltassa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants