<?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.015134570185456366 0.013641593324720112 0.001052170410412568" pos="0.2386548789285497 -0.21858914827385617 0.20105217041041257" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02085077064454227 0.02345596293869664 0.002523472261006674" pos="0.23775287535933104 -0.12410643014269182 0.2025234722610067" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04241907317715355 0.028227822976748147 0.004402284307046713" pos="-0.09666527541399125 -0.16093448777924788 0.2044022843070467" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013392223280357555 0.010440185510090266 0.0002770715317918349" pos="-0.1511735099612901 0.07832022000795746 0.20027707153179183" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02900251208489072 0.004923347677971682 0.0022068911459465104" pos="0.25179718385723365 -0.17947081940553117 0.20220689114594653" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00824990786971849 0.007631310127968523 0.00419293919050365" pos="-0.0027626448175367413 -0.1592413561606112 0.20419293919050366" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042122722824550395 0.03268109191366151 0.004844620218255604" pos="-0.09212730309112097 -0.0725564905586927 0.2048446202182556" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.001951485166958976 0.008033074197167946 0.00028511427054839325" pos="-0.12847985274805765 0.019794314514694822 0.2002851142705484" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006365403056468457 0.01670891494114089 0.002440418288852892" pos="-0.21698884516267897 -0.04422396559663094 0.2024404182888529" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03298791946126126 0.04087626781999256 0.0009204855664400358" pos="0.1784841559814596 0.11187819866433335 0.20092048556644004" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04615108666190807 0.007987465266087297 0.0013649597816209958" pos="-0.13145802349700345 -0.2755652678337361 0.201364959781621" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.003916249153608248 0.04215452237220727 0.0035743320026827225" pos="0.2648145888326156 -0.13583542092082984 0.20357433200268274" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04764492720859693 0.004657384887582182 0.0041412413594217904" pos="0.1688470926885648 -0.04409540302057435 0.2041412413594218" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.44667830399749997" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1119.4330677" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.280176444518812"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.026678303997499986" 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.000624597647275 0.000624597647275 0.000624597647275" file="mujoco_models/Tree_4_tree.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/interlaced_0116.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>
    