<?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.0270481349386803 0.012741608622362652 0.000964828061865503" pos="-0.061090639470211455 0.27744936835716966 0.20096482806186552" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01221559582516795 0.04340577458080686 0.002422472224782693" pos="0.22285616003226866 0.144742824365775 0.2024224722247827" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.003349111653383927 0.048621005342820975 0.000370055657656459" pos="0.13424441225503192 0.19259919579433543 0.20037005565765648" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014071166220562044 0.009302131281545709 0.003197650520835867" pos="0.28256582856006424 0.20848909895778395 0.20319765052083588" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004159764934797241 0.04358012149667215 0.001789799024983168" pos="0.19634672156844313 -0.28953440393137303 0.20178979902498317" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03041864441306616 0.028137867070638718 0.00014861968587615726" pos="0.029062054929074987 -0.15861953907684054 0.20014861968587616" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0012511994263596088 0.027940905872598062 0.001786191930738512" pos="0.17165457258232558 0.195360186595401 0.20178619193073852" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004904386272389842 0.021536997151714615 0.002152282566125002" pos="-0.1713755980470399 0.05387608943996541 0.20215228256612502" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.035809233315297645 0.00525447456914357 0.0025690808175326397" pos="-0.018396162105948688 -0.11705390933768467 0.20256908081753264" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375042533217 0.67453046651785 0.412368006679" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="743.642393926" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.858323244613958"></joint>
            <site name="object0" pos="-4.25332169999848e-05 0.010469533482150073 0.007631993321000008" 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.000825057547335 0.000825057547335 0.000825057547335" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/scaly_0162.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>
    