<?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.03218223606000334 0.046308905540132714 0.003753359896969172" pos="-0.2625642713480634 0.15532509306786219 0.2037533598969692" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03693718393131449 0.03806974244498844 0.0007414336271052702" pos="0.09482231203979097 0.08381049462385709 0.20074143362710528" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012290446739089782 0.021078231543597836 0.0035338292698875798" pos="0.19507237791983412 -0.04062707058126713 0.20353382926988758" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030901896935492206 0.005033662502006133 0.0018234849144759399" pos="-0.2644520033479088 0.03071652356422161 0.20182348491447596" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002481002666938061 0.0326892060761621 0.0038720732753950034" pos="-0.15057700071930538 -0.02522812702852123 0.20387207327539503" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01605225472556211 0.007574060179600926 0.0034495761017944372" pos="0.17178677711499074 -0.15401481665877192 0.20344957610179445" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04433712266213109 0.01124596727853941 0.004284188159596707" pos="-0.23842488646148455 0.09588881577738245 0.20428418815959673" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0218577641081334 0.0021597586067976984 0.004708774867496612" pos="-0.17970752840900125 0.19568865798255347 0.2047087748674966" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03876635014645849 0.04477670209123253 0.0047764513863892185" pos="-0.18112219232180213 0.0846822154816127 0.20477645138638922" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017150936508134738 0.038248291610595654 0.0008154355857548083" pos="-0.10874895094896517 -0.19091352757826496 0.20081543558575482" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04621643288095188 0.0057414016755991054 0.0014013014160012337" pos="-0.23793001969165867 -0.17759572618745956 0.20140130141600124" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02390443103160779 0.014229436867558395 0.001648921730177061" pos="-0.2572253852728761 -0.04635316731267325 0.20164892173017707" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04449336544256448 0.04599052656933124 0.0008539253170632332" pos="-0.005408234853821858 0.14320328586133502 0.20085392531706325" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.454474728307" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2735.24475311" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.6619116243047665"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.03447472830699999" 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.0486587354129 0.0486587354129 0.0486587354129" file="mujoco_models/Low_poly_bowl_or_cup.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/interlaced_0139.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>
    