<?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.008600296564871546 0.02952717197087542 0.003678210680291861" pos="0.2678973670129154 -0.12188827938722005 0.20367821068029188" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020448371399119116 0.009964645036741281 0.00440190849841412" pos="0.19444633466965366 0.16497593680394151 0.20440190849841414" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0038072118889451653 0.028279252656771163 0.0012515664539737984" pos="-0.22818888196661585 0.16896786011003362 0.2012515664539738" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011367487380276414 0.02553977321413581 0.0026778721071626494" pos="-0.17203079757661704 -0.004643300206570666 0.20267787210716265" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0035881749823998507 0.0010035500322861167 0.004413577465155414" pos="-0.050646778748308696 0.24445187937201335 0.20441357746515543" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025319060626684722 0.022124306434820076 0.0015499694892271757" pos="-0.25098663744417676 -0.1141832104412869 0.20154996948922718" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03081504299351824 0.038376531013926476 0.002750045036503834" pos="0.1549535062178513 -0.20534904500460754 0.20275004503650385" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029578756652279516 0.04424755812425981 0.0011680050174399366" pos="-0.1633986369642058 0.14905950784083033 0.20116800501743995" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.040790782457590984 0.013154270155010864 0.0017246920405201112" pos="0.0790616402703671 -0.060940972086486134 0.20172469204052013" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03157653753633339 0.02532507157273953 0.003890891414485752" pos="0.20753318814799454 0.21829632558309603 0.20389089141448577" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.45584601400899993" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="279.85996309" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.854170912559009"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.03584601400899995" 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.002142086405185 0.002142086405185 0.002142086405185" file="mujoco_models/Tree_4_soil.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cracked_0091.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>
    