<?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.04236805314380294 0.03398878753539724 0.0037318994833659093" pos="-0.2647055444733547 0.15181381672892935 0.20373189948336592" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023995404461755472 0.0174031620347598 0.002212341186707845" pos="-0.19572590604370052 -0.29861176781552456 0.20221234118670786" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03379982964805022 0.041690829794911 0.004659222797446051" pos="0.018969708003444552 0.002010247301693524 0.20465922279744606" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04316099404582481 0.019408263848130762 0.0016602602114259594" pos="0.22342993126533267 -0.19928534622106037 0.20166026021142597" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03949461451527453 0.0437755501389256 0.003878373600376307" pos="-0.013972532617566924 0.25176281211122614 0.2038783736003763" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007683587484383254 0.022317460494183136 0.004811477477540223" pos="-0.23203676647621235 0.15871600963032945 0.20481147747754022" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020886845569143046 0.002853226834721161 0.00035679951987855355" pos="-0.04173353946332942 0.2149561668020466 0.20035679951987856" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03928269737946057 0.03023935708255228 0.00010444722978934077" pos="-0.06904888339226864 -0.0815532151143952 0.20010444722978935" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0036746697069305156 0.00958978565533724 0.0042349772891081905" pos="0.031232073361139256 -0.2252616421314378 0.2042349772891082" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0036781863055280885 0.0358055252350645 0.0019161644165842078" pos="0.27376348707866455 0.14465532815305304 0.20191616441658422" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.374574300513 0.6749999999999999 0.4616857139495" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1982.67380138" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.40660930978632737"></joint>
            <site name="object0" pos="0.0004256994869999975 0.01000000000000012 -0.04168571394949999" 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.00069332127831 0.00069332127831 0.00069332127831" file="mujoco_models/Tree_2_tree.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/veined_0088.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>
    