<?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.010834996037404104 0.011804414454138053 0.003475986484834416" pos="0.2784375043297201 0.20364345349793606 0.20347598648483442" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03551776903302903 0.04340025776599378 0.004403003409705377" pos="-0.02601098615505154 0.020045497494616038 0.20440300340970538" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03427327141324718 0.04468520950266417 0.0005691119640943477" pos="-0.06866610729456377 -0.27810977092638384 0.20056911196409435" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013173426000917171 0.04507059203932512 0.004676456761151157" pos="-0.00960545127138479 -0.036807924807154 0.20467645676115118" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04415040237802979 0.010907877149488855 0.001509614896795605" pos="-0.02268572312902367 -0.17881472353447897 0.2015096148967956" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0030686796814685447 0.019130694391301314 0.0035595868670190473" pos="-0.12538576709214602 -0.27368485270411985 0.20355958686701905" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04831603660595226 0.04701600410284048 0.003129991042513646" pos="0.2885143243010844 0.21412083748985705 0.20312999104251367" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00221663779522978 0.03433711670843484 0.002988659762642592" pos="-0.177837212857841 0.2123437150158201 0.2029886597626426" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011784941241242977 0.017225161700435893 0.002114233379126802" pos="0.16650168316688918 -0.274875061069089 0.20211423337912682" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03634505368283976 0.0020165713571254967 0.0007310303694672608" pos="0.18923543081302596 -0.24590437791319625 0.20073103036946727" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3715613289334998 0.6727077053581 0.41300045845899996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3296.61081677" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.7874517399545342"></joint>
            <site name="object0" pos="0.0034386710665001985 0.01229229464190007 0.006999541541000021" 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.0004584589283805 0.0004584589283805 0.0004584589283805" file="mujoco_models/joshuaoiltankerwhite.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bumpy_0111.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>
    