<?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.031329120346211714 0.004479045260222258 0.004842082947953772" pos="0.25186925392494414 -0.0826736048897462 0.20484208294795378" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042517425064262954 0.00493689365151672 0.0004753721342367127" pos="0.029511604117560875 0.03255215475287565 0.20047537213423672" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020895102708569792 0.03942332707281785 0.0006336954795470323" pos="0.24572089925287438 -0.28242927283492203 0.20063369547954704" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.040262893297068475 0.02828256250974133 0.003173565292990319" pos="-0.23463457097530846 -0.16176250931709915 0.20317356529299033" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03699660563703953 0.032540585674003225 0.004081042473892972" pos="0.016109363529769716 -0.17544274167617155 0.20408104247389297" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005856527190532112 0.027618668548102368 0.001676332415076534" pos="0.08357771200616032 -0.11087805342997306 0.20167633241507654" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023172705945350373 0.03181611578930183 0.0010262471220806597" pos="0.011176101865456867 -0.2787741606868524 0.20102624712208067" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750333608594998 0.67463172217755 0.4125042970674999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="720.414958011" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.9511220446144382"></joint>
            <site name="object0" pos="-3.3360859499786955e-05 0.01036827782245009 0.00749570293250007" 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.000647132544255 0.000647132544255 0.000647132544255" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bumpy_0135.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>
    