<?xml version="1.0" encoding="utf-8"?>
<mujoco>
    <compiler angle="radian" coordinate="local" meshdir="../stls/fetch" texturedir="../textures"></compiler>
    <option timestep="0.002">
        <flag warmstart="enable"></flag>
    </option>

    <include file="shared.xml"></include>
    
    <worldbody>
        <geom name="floor0" pos="1.42 0.75 0" size="1.0 0.7 1" type="plane" condim="3" material="floor_mat"></geom>
        <body name="floor0" pos="1.42 0.75 0">
            <site name="target0" pos="0 0 0.5" size="0.02 0.02 0.02" rgba="1 0 0 1" type="sphere"></site>
        </body>

        <include file="robot.xml"></include>
        
        <body pos="1.65 0.75 0.2" name="table0">
            <geom size="0.5 0.45 0.2" type="box" mass="20000" material="table_mat"></geom><geom size="0.04329788349069016 0.033842102084789015 0.004661740909606705" pos="-0.1427872869343149 0.18744150489508277 0.2046617409096067" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006721887238994308 0.040294574822876114 0.004258773273780184" pos="-0.05604211016075775 0.1200083018651395 0.2042587732737802" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.048466420279017465 0.010061761223283738 0.0031288906955272895" pos="-0.27154168154528746 -0.09683779498426245 0.2031288906955273" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007918152422187352 0.027302366590065835 0.003055757697151936" pos="0.29364346081807463 0.280081491011318 0.20305575769715195" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.044250405693920664 0.028806582948169054 0.004441707971601991" pos="-0.0870493097055817 -0.17944124890184981 0.204441707971602" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02677622396450382 0.02702925561844914 0.004559351031330938" pos="-0.2965582514867509 0.213330871657123 0.20455935103133094" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030803539346565663 0.04704258034336172 0.003751558067255047" pos="-0.08024432934891265 0.0808794940604114 0.20375155806725506" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01911626354235718 0.04615670867166088 0.00019645531526042817" pos="0.032874082657785964 0.00439883469200103 0.20019645531526045" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010316838593103648 0.02197918643258426 0.001554770924346954" pos="0.10224590499835468 0.1518772369546158 0.20155477092434695" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03879838871333357 0.020323244321187695 0.0010378078549294332" pos="-0.12356993419530568 0.02084046596802902 0.20103780785492945" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3590809675455 0.66800575574845 0.413264352407" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2959.22662233" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.8706155113466632"></joint>
            <site name="object0" pos="0.015919032454499993 0.01699424425155005 0.006735647592999994" size="0.002 0.002 0.002" rgba="1 0 0 0" type="sphere"></site>
        </body>

        <body name="hook" pos="1.0 0.025 0.025">
            <joint name="hook:joint" type="free" damping="0.01"></joint>
            <geom size="0.4 0.015 0.015" type="box" condim="3" name="hook_base" material="block_mat" mass="2"></geom>
            <geom size="0.015 0.1 0.015" pos="0.4 0.085 0." type="box" condim="3" name="hook_head" material="block_mat" mass="2"></geom>
            <site name="hook" pos="-0.25 0 0" size="0.002 0.002 0.002" rgba="1 0 0 1" type="sphere"></site>
        </body>

        <light directional="true" ambient="0.2 0.2 0.2" diffuse="0.8 0.8 0.8" specular="0.3 0.3 0.3" castshadow="false" pos="0 0 4" dir="0 0 -1" name="light0"></light>
    </worldbody>

    <asset>
        <mesh scale="0.000964789845725 0.000964789845725 0.000964789845725" file="mujoco_models/WillTankGrey.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/stained_0051.png" name="object"/>
        <material specular="1" texture="object" rgba="0.9 0.9 0.9 1" shininess="0.3" name="object"/>
    </asset>
    
    <actuator>
        <position ctrllimited="true" ctrlrange="0 0.2" joint="robot0:l_gripper_finger_joint" kp="30000" name="robot0:l_gripper_finger_joint" user="1"></position>
        <position ctrllimited="true" ctrlrange="0 0.2" joint="robot0:r_gripper_finger_joint" kp="30000" name="robot0:r_gripper_finger_joint" user="1"></position>
    </actuator>
</mujoco>
    