<mujoco model="finite-contact planar human candidate v1">
 <compiler angle="radian" inertiafromgeom="true"/>
 <option timestep="0.002" gravity="0 0 -9.81" integrator="implicitfast" solver="Newton" iterations="40"/>
 <size njmax="2000" nconmax="400"/>
 <default>
  <joint damping="1" armature="0.02"/>
  <geom condim="3" friction="1.0 0.05 0.005" solref="0.015 1" solimp="0.9 0.95 0.001"/>
 </default>
 <worldbody>
  <light pos="0 0 4" dir="0 0 -1" diffuse="0.9 0.9 0.9"/>
  <geom name="ground" type="plane" size="100 100 0.1" rgba="0.18 0.25 0.28 1" friction="1.05 0.04 0.004"/>
  <body name="pelvis" pos="0 0 0.95">
   <joint name="rootx" type="slide" axis="1 0 0" damping="0"/>
   <joint name="rootz" type="slide" axis="0 0 1" damping="0"/>
   <joint name="rootpitch" type="hinge" axis="0 1 0" damping="0.3"/>
   <geom name="torso" type="capsule" fromto="0 0 -.02 0 0 .64" size=".14" mass="34" rgba="0.22 0.76 0.75 1" contype="0" conaffinity="0"/>
   <geom name="pelvis_mass" type="box" pos="0 0 0" size=".145 .145 .085" mass="8" rgba="0.33 0.58 0.64 1" contype="0" conaffinity="0"/>
   <geom name="head" type="sphere" pos="0 0 .78" size=".125" mass="4.5" rgba="0.9 .82 .71 1" contype="0" conaffinity="0"/>
   <geom name="armsmass" type="capsule" fromto="-.05 0 .40 -.04 0 -.05" size=".055" mass="3.2" rgba=".70 .85 .83 1" contype="0" conaffinity="0"/>
   <body name="left_thigh" pos="0 .10 0">
    <joint name="left_hip" type="hinge" axis="0 1 0" range="-1.3 1.3" limited="true" damping=".8"/>
    <geom name="left_femur" type="capsule" fromto="0 0 0 0 0 -.43" size=".07" mass="7" rgba="0.44 .72 .80 1" contype="0" conaffinity="0"/>
    <body name="left_shank" pos="0 0 -.43">
     <joint name="left_knee" type="hinge" axis="0 1 0" range="0 2.5" limited="true" damping=".7"/>
     <geom name="left_tibia" type="capsule" fromto="0 0 0 0 0 -.40" size=".045" mass="3.6" rgba="0.5 .77 .85 1" contype="0" conaffinity="0"/>
     <body name="left_foot" pos="0 0 -.40">
      <joint name="left_ankle" type="hinge" axis="0 1 0" range="-.65 .65" limited="true" damping=".5"/>
      <geom name="left_heel" type="sphere" pos="-.075 0 -.07" size=".052" mass="0.35" rgba=".96 .64 .36 1"/>
      <geom name="left_forefoot" type="box" pos=".094 0 -.082" size=".106 .055 .040" mass=".85" rgba=".9 .79 .49 1"/>
     </body>
    </body>
   </body>
   <body name="right_thigh" pos="0 -.10 0">
    <joint name="right_hip" type="hinge" axis="0 1 0" range="-1.3 1.3" limited="true" damping=".8"/>
    <geom name="right_femur" type="capsule" fromto="0 0 0 0 0 -.43" size=".07" mass="7" rgba="0.48 .84 .67 1" contype="0" conaffinity="0"/>
    <body name="right_shank" pos="0 0 -.43">
     <joint name="right_knee" type="hinge" axis="0 1 0" range="0 2.5" limited="true" damping=".7"/>
     <geom name="right_tibia" type="capsule" fromto="0 0 0 0 0 -.40" size=".045" mass="3.6" rgba=".52 .91 .75 1" contype="0" conaffinity="0"/>
     <body name="right_foot" pos="0 0 -.40">
      <joint name="right_ankle" type="hinge" axis="0 1 0" range="-.65 .65" limited="true" damping=".5"/>
      <geom name="right_heel" type="sphere" pos="-.075 0 -.07" size=".052" mass="0.35" rgba=".96 .64 .36 1"/>
      <geom name="right_forefoot" type="box" pos=".094 0 -.082" size=".106 .055 .040" mass=".85" rgba=".9 .79 .49 1"/>
     </body>
    </body>
   </body>
  </body>
 </worldbody>
 <actuator>
  <motor name="left_hip_motor" joint="left_hip" gear="1" ctrllimited="true" ctrlrange="-180 180"/>
  <motor name="left_knee_motor" joint="left_knee" gear="1" ctrllimited="true" ctrlrange="-150 150"/>
  <motor name="left_ankle_motor" joint="left_ankle" gear="1" ctrllimited="true" ctrlrange="-110 110"/>
  <motor name="right_hip_motor" joint="right_hip" gear="1" ctrllimited="true" ctrlrange="-180 180"/>
  <motor name="right_knee_motor" joint="right_knee" gear="1" ctrllimited="true" ctrlrange="-150 150"/>
  <motor name="right_ankle_motor" joint="right_ankle" gear="1" ctrllimited="true" ctrlrange="-110 110"/>
 </actuator>
</mujoco>
