<?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.02660896374802932 0.035494640813303065 0.0007095843105331484" pos="0.06625719655256224 0.02921303764252392 0.20070958431053315" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04321551941101117 0.03647364037310684 0.004391676586333528" pos="0.23796865342634804 -0.08852667767613842 0.20439167658633353" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04558511314318971 0.027827011924501422 0.001452789782919074" pos="0.1487881035663451 0.27776373841080476 0.20145278978291908" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03411209291602442 0.03819354575708454 0.003138853689832233" pos="-0.1922721320077483 0.010119386086018145 0.20313885368983225" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03170989791063485 0.03860163391181159 0.0009280780449648926" pos="0.11315333741801892 0.040896725534423584 0.2009280780449649" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008030800756605996 0.03913138801818638 0.0016276771115796079" pos="-0.009059490326764397 -0.26401120164654823 0.2016276771115796" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042173734729819286 0.00914890250275031 0.0045830289324390915" pos="-0.07601507114654077 -0.2819254874089248 0.2045830289324391" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0368786674786627 0.014452329787268434 0.003200557235652369" pos="-0.2862488011180139 0.16580538763404923 0.2032005572356524" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750460589565 0.67449154510985 0.4123156183594999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="438.4221478" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.6676762557204434"></joint>
            <site name="object0" pos="-4.6058956499894776e-05 0.010508454890150065 0.00768438164050006" 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.00089344969118 0.00089344969118 0.00089344969118" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/chequered_0107.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>
    