<?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.03102147742528055 0.032394936510711826 0.003733746058618541" pos="0.05363166272382197 0.2528770277591385 0.20373374605861855" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0064073933070749 0.004885292946088596 0.0025862594497487873" pos="-0.2846571476256969 -0.032997063003981864 0.20258625944974878" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026677991229741627 0.0421460704936948 0.002944979594881474" pos="0.2824106339231183 -0.27357196451035015 0.20294497959488147" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.021754698557979586 0.010814181999484196 0.0009962222694652274" pos="-0.21628665515884582 0.021478270223915685 0.20099622226946523" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0473266729844141 0.008921864549893948 0.003901279585454052" pos="-0.13654708268997093 0.1444128736811764 0.20390127958545406" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008325363577787723 0.006143837147532332 0.0002726268000588182" pos="-0.11368551376079447 -0.23896309765685586 0.20027262680005883" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019250104709872675 0.010723465423713049 0.004075399674028353" pos="0.11189447485078291 0.10731651236081846 0.20407539967402835" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.001981942411266386 0.026047986476754725 0.0003101661463730241" pos="0.1407562551375574 -0.2843450765469067 0.20031016614637304" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024384909011570415 0.024173343132351574 0.0020188928946645863" pos="0.04115197308825469 0.024095174207645953 0.2020188928946646" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010505085207269133 0.006562345282067058 0.0005579809487479751" pos="-0.08149552679493799 0.16028648494584624 0.200557980948748" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024060859364907195 0.02823254646902705 0.0036846384453115776" pos="0.015694451667695675 -0.24859532959851743 0.2036846384453116" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.038484416491287414 0.018920706332812343 0.0033581323133679885" pos="0.021758934034865562 0.06823743682598193 0.203358132313368" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3819536436384998 0.6648668734526499 0.43760328297499995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="158.91128845" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.75810427012194"></joint>
            <site name="object0" pos="-0.006953643638499818 0.02013312654735011 -0.017603282974999968" 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.00106718526991 0.00106718526991 0.00106718526991" file="mujoco_models/Tree_1_pot.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/braided_0019.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>
    