<?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.03906329873390032 0.0398155670171153 0.0009369161758922645" pos="0.02918494115129816 0.19169318107077343 0.20093691617589227" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018395142472428766 0.005499152947600519 0.000998124784801256" pos="0.059365568207755015 0.23838514925664162 0.20099812478480128" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03186544811126355 0.03367810313519073 0.002644158696088218" pos="-0.2640915899222843 0.1805539026262979 0.20264415869608823" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03068974144321578 0.03580529383923249 0.0043651496537086" pos="-0.14502809364404112 0.1471931686583986 0.2043651496537086" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006492979274248459 0.03924620941950325 0.0006022115740422362" pos="-0.11228589016853341 -0.12211344771351215 0.20060221157404226" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03358728267039696 0.039180624833796154 0.00210292516019553" pos="0.15001187278095635 0.14179549097680932 0.20210292516019554" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0033455190365434735 0.03146161160692305 0.004016566938158654" pos="0.038104379456699866 -0.00016114119558546802 0.20401656693815867" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025330927727896118 0.0028659185388554467 0.004181682040529063" pos="-0.16887621350079388 -0.22303481411806658 0.20418168204052908" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03010050405298615 0.038462074697280205 0.001412924269777512" pos="-0.2394113756619058 -0.20901112044651113 0.20141292426977753" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011696529110080286 0.00654646298407958 0.0027825712086674698" pos="-0.0310249970321278 0.2919899554820718 0.2027825712086675" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3714269993394999 0.67261815826185 0.41300047636849996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="22538.2149825" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.9847306466597314"></joint>
            <site name="object0" pos="0.0035730006605001474 0.012381841738150046 0.006999523631500026" 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.0004763683476305 0.0004763683476305 0.0004763683476305" file="mujoco_models/joshuaoiltankerwhite.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cobwebbed_0113.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>
    