<?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.0026754129802405453 0.00873664881750253 0.0005288875317674017" pos="-0.20918448581386845 0.24094983147193832 0.20052888753176742" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020714679214638463 0.013783465912627895 0.0037136888785705507" pos="-0.12165700107575944 0.020161294615846592 0.20371368887857055" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0026270815800217336 0.010332922009354296 0.0016595586646213497" pos="0.26757451797961856 -0.24897518634529311 0.20165955866462137" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04266422159039189 0.03659914084147808 0.0032074141097166143" pos="-0.1986355886570328 -0.1507896111194013 0.20320741410971663" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019297452584874548 0.006652705387951588 0.00022422554545392236" pos="-0.2250684765710917 -0.05811821321344854 0.20022422554545394" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04947516639303913 0.014316515540301677 0.0029653983287589152" pos="-0.2508043890939574 -0.1824833675744192 0.20296539832875893" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02321257492616969 0.04018649842400519 0.0038335756158663086" pos="0.1454080302281277 -0.13699559275644993 0.20383357561586632" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.047337539240426954 0.03679874578672595 0.0034653648893552954" pos="0.02974669276573888 -0.07354208054053629 0.2034653648893553" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01388668076293018 0.03477470017851062 0.0014719712184557085" pos="-0.15053006583293058 -0.01876934066255398 0.20147197121845573" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750379238969999 0.6745813498098 0.41243649572549995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1042.12970449" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.309618604419246"></joint>
            <site name="object0" pos="-3.792389699985854e-05 0.010418650190200052 0.0075635042745000325" 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.000735646151475 0.000735646151475 0.000735646151475" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/perforated_0074.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>
    