<?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.008553049481360365 0.03519310036738035 0.002692132794311496" pos="0.15416142127448312 0.19349154978801253 0.2026921327943115" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002350137024278445 0.0011622510126358349 0.0023598842242804475" pos="-0.11131972229619683 -0.08830068618846199 0.20235988422428045" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004544169920526419 0.03794361052879926 0.0036308704503172245" pos="0.08211198783437434 -0.18743248077899044 0.20363087045031725" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03931616947038384 0.03133548998626096 0.0020027152818934964" pos="-0.12426238235528675 0.2686549570425379 0.2020027152818935" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01461616311618322 0.02686425041710627 0.0031958800514409478" pos="-0.15976235185668392 -0.14751525853906114 0.20319588005144096" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031700162808881126 0.015825441710748196 0.0025610643549362085" pos="0.12510750870802767 0.14638232569953402 0.20256106435493623" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00610754520709501 0.002516784449221562 0.0011696991366820333" pos="-0.02789933117195631 0.04448107766623577 0.20116969913668203" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.045456268757648924 0.012107878024430602 0.0005423198285676482" pos="-0.05545315611279994 0.2914537493355162 0.20054231982856766" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019935407477724532 0.03508795518244761 0.0038258016458811114" pos="-0.047759044373478554 0.2811664597677796 0.20382580164588113" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0320772357003497 0.02641942459932528 0.0008235472463813753" pos="-0.2571238787786758 -0.06592332901902498 0.20082354724638138" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018959129923677237 0.0320061251237954 0.002281493512973619" pos="-0.21988302101166307 0.064196145791095 0.20228149351297364" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025704059795099675 0.021369628218358434 0.0028857238347593356" pos="-0.25136603531835044 0.19551610037306327 0.20288572383475934" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022908289511887392 0.03563992212582868 0.00456902755651877" pos="0.2773852485813359 0.12572170597514248 0.2045690275565188" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.374996795537 0.6750112352754499 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2376.09860212" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.1772587351479937"></joint>
            <site name="object0" pos="3.204463000061608e-06 0.009988764724550125 0.007000000000000062" 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.000763317362055 0.000763317362055 0.000763317362055" file="mujoco_models/Planter_Cauldron.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/gauzy_0184.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>
    