Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <mujoco model= "2dbiped.xml">
- <compiler angle = "global" coordinate="global" inertiafromgeom="true"/>
- <option integrator="RK4" timestep="0.0002"/>
- <worldbody>
- <body name = "torso">
- <joint armature="0" axis="0 1 0" damping="0" limited="false" name="ignorex" pos="0 0 1.33" stiffness="0" type="slide"/>
- <joint armature="0" axis="0 0 1" damping="0" limited="false" name="ignorez" pos="0 0 1.33" ref="1.33" stiffness="0" type="slide"/>
- <joint armature="0" axis="1 0 0" damping="0" limited="false" name="ignorey" pos="0.0 0 1.33" range="-90 90" stiffness="0" type="hinge"/>
- <geom condim="3" contype="1" conaffinity="2" pos="0 0 1.33" size="0.1 0.07 0.24" name="torso_geom" type="box" mass="70"/>
- <body name = "left_upperleg">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.04 0.225" pos="-0.12 0 0.885" name="left_upperleg_geom" mass="5" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_l1" type="hinge" axis="1 0 0" pos="-0.01 0 1.10" range="-90 90"/>
- <body name = "left_lowerleg">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.03 0.225" pos="-0.14 0 0.455" name="left_lowerleg_geom" mass="4" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_l2" type="hinge" axis="1 0 0" pos="-0.03 0 0.67" range="-90 90"/>
- <body name = "left_foot">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.1 0.035" pos="-0.14 0.05 0.2" name="left_foot_geom" mass="4" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_l3" type="hinge" axis="1 0 0" pos="-0.03 0 0.23" range="-90 90"/>
- </body>
- </body>
- </body>
- <body name = "right_upperleg">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.04 0.225" pos="0.12 0 0.885" name="right_upperleg_geom" mass="5" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_r1" type="hinge" axis="1 0 0" pos="0.01 0 1.10" range="-90 90"/>
- <body name = "right_lowerleg">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.03 0.225" pos="0.14 0 0.455" name="right_lowerleg_geom" mass="4" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_r2" type="hinge" axis="1 0 0" pos="0.03 0 0.67" range="-90 90"/>
- <body name = "right_foot">
- <geom condim="3" contype="1" conaffinity="2" size = "0.01 0.1 0.035" pos="0.14 0.05 0.2" name="right_foot_geom" mass="4" rgba=".7 .3 .6 1" type="box"/>
- <joint armature="0.01" name="joint_r3" type="hinge" axis="1 0 0" pos="0.03 0 0.23" range="-90 90"/>
- </body>
- </body>
- </body>
- </body>
- </worldbody>
- <actuator>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_l1"/>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_l2"/>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_l3"/>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_r1"/>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_r2"/>
- <motor ctrllimited="true" ctrlrange="-1.0 1.0" gear="100" joint="joint_r3"/>
- </actuator>
- </mujoco>
Add Comment
Please, Sign In to add comment