<?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.03669789363803683 0.017777928541408725 0.00422391334593991" pos="0.09123731621403136 -0.12418997736036932 0.20422391334593992" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0076905824710517545 0.009004808456684717 0.003910710286393867" pos="-0.239220084414832 -0.212531458115377 0.20391071028639388" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029973361118455118 0.007198771904062511 0.00036169877406792774" pos="-0.1835824832553948 -0.12503000057243976 0.20036169877406793" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020667938429803828 0.035030209668825245 0.003814241774239626" pos="0.07629933378132947 0.01249595949425708 0.20381424177423962" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004162675104468667 0.023322034341550234 0.0006203017776331337" pos="0.198998240395456 -0.12446407013639013 0.20062030177763315" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020780098505657516 0.0038574731722362753 0.002168637053260958" pos="0.08692028615077285 -0.0018563784676684514 0.20216863705326096" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04134002062593689 0.02047926770856916 0.0047515129848627975" pos="0.19677123139952052 0.17227789392020948 0.2047515129848628" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00851767601159346 0.01278236972885774 0.0018133618482632896" pos="-0.19168190631704995 -0.25516012369232866 0.2018133618482633" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002266420196933399 0.02121435158583268 0.00028539820858567886" pos="-0.19505135951477812 0.2527358775278961 0.20028539820858568" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750496802645 0.6744515686996999 0.41226181000499995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="44.3254923263" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.126502122342498"></joint>
            <site name="object0" pos="-4.968026450002938e-05 0.010548431300300143 0.007738189995000033" 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.00096369566971 0.00096369566971 0.00096369566971" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/banded_0045.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>
    