<?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.03207928239004876 0.0364041394145238 0.0005742678928715684" pos="-0.24098930739554136 -0.16994231684562655 0.20057426789287158" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016231750767742702 0.04878174985972018 0.003079675004769834" pos="0.17571856382830753 -0.1299128848290332 0.20307967500476984" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004755104660865373 0.003329433994299588 0.0028679926641654837" pos="0.08072307903173254 0.25472429774578825 0.2028679926641655" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00842489611820028 0.009286785877117978 0.004888968035976788" pos="-0.12491538885602238 -0.05976950571982528 0.2048889680359768" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03116245965971545 0.033748690373524334 0.004261899931246921" pos="-0.01856227037181085 -0.28626729313904214 0.20426189993124694" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01627227865101989 0.023656096923079493 0.0022911383569027" pos="0.22168917451007703 -0.08896910881531742 0.2022911383569027" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02330909148782538 0.03183477799046763 0.001177456043681171" pos="0.09987500568836716 0.00024101215712579727 0.20117745604368117" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.021614167322124535 0.02065911197067343 0.003955509990702266" pos="-0.11303602630106496 -0.2106194088869604 0.20395550999070228" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019881823838889378 0.015012972606487509 0.00020653672608039728" pos="-0.12843437395049065 0.03423743857419448 0.2002065367260804" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03654305638155971 0.029160404630529036 0.0038216293983191836" pos="-0.24137904050697614 0.16691430278830144 0.2038216293983192" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.043235560748403803 0.02381718498190712 0.0020758837986413364" pos="-0.10261123597491284 -0.05434440360057474 0.20207588379864136" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.371400249368 0.6726003261357 0.41300047993499994" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2246.84741181" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.3181986738842735"></joint>
            <site name="object0" pos="0.0035997506320000205 0.012399673864300076 0.006999520065000042" 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.000479934772862 0.000479934772862 0.000479934772862" file="mujoco_models/joshuaoiltankerwhite.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/lacelike_0061.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>
    