<?xml version="1.0" encoding="utf-8"?>
<mujoco>
   <include file="shared_config.xml"></include>
    <worldbody>
        <include file="sawyer_xyz_base.xml"></include>

        <body name="door" pos="0.1 0.85 0.1">
                <joint name="doorjoint" pos="-.16 0 0" axis="0 0 1"
                       type="hinge" limited="true" range="-2.0 0" damping="0.1" armature="0" />
                <geom type="box" pos="0 0 0" size="0.15 0.01 0.1"
                      rgba=".1 .1 .9 1" contype="1" conaffinity="1" material="light_wood"/>
                <!--front, parallel to door-->
                <geom type="box" pos="0.1 -0.15 0.05" size="0.05 0.01 0.02" rgba="0 0 0 1" contype="1" conaffinity="1" name="handle" material="light_wood"/>
                <!--front-->
                <geom type="box" pos="0.14 -0.075 0.05" size="0.01 0.075 0.02" rgba="0 0 0 1" contype="1" conaffinity="1" material="light_wood"/>
        </body>
        <!-- <geom rgba=".6 .6 .5 1" type="box" contype="1" size="0.1 0.4 0.15" name="wall0" conaffinity="1" pos="-0.4 0.6 0.15" mass="1000" material="light_wood_v3"/>
        <geom rgba=".6 .6 .5 1" type="box" contype="1" size="0.4 0.015 0.05" name="wall1" conaffinity="1" pos="0 0.985 0.05" mass="1000" material="light_wood_v3"/> -->
        <site name="goal" pos="-0.2 0.6 0.15" size="0.02"
              rgba="0 0.8 0 1"/>
    </worldbody>

    <!-- <actuator>
        <motor joint="right_j0" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j1" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j2" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j3" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j4" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j5" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor joint="right_j6" ctrlrange="-100.0 100.0" ctrllimited="false"/>
        <motor gear="100" joint="r_close" name="slide"/>
    </actuator> -->
    <actuator>
        <position ctrllimited="true" ctrlrange="-1 1" joint="r_close" kp="400"  user="1"/>
        <position ctrllimited="true" ctrlrange="-1 1" joint="l_close" kp="400"  user="1"/>
    </actuator>

</mujoco>
