<?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.025967982135455463 0.023777883471504595 0.0013656596027618747" pos="0.08790822566627005 0.22684438875153073 0.2013656596027619" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04652232864520462 0.032528553069089326 0.004730881941853445" pos="0.09693480745314398 -0.06914542653247141 0.20473088194185346" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01711579817930707 0.011579986292678913 0.0022269638612570607" pos="0.09792725348690656 0.23380837604739707 0.20222696386125708" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013310914493289284 0.02806047322746162 0.0005649756376798645" pos="-0.2410908908970574 0.1375670063119223 0.2005649756376799" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04800456553053517 0.007559833361032602 0.002863979032640938" pos="0.18736926149741417 -0.2532054360645987 0.20286397903264095" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018803578360326804 0.028587933335869713 0.0010496997389948897" pos="-0.10253588769062175 0.14833583284212826 0.2010496997389949" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012928467122463684 0.0030071328781899093 0.0007354184496945625" pos="0.2591051978042673 -0.20477151202737626 0.20073541844969459" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.034646125055342446 0.005403982728292243 0.0033759829237170196" pos="0.21190657130412466 0.2954558634018844 0.20337598292371703" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.003874236576090302 0.022921663675277728 0.002970034981987641" pos="0.15003266313578772 -0.04852011461603711 0.20297003498198765" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004112395259508935 0.006151259660551311 0.001797863908278274" pos="0.09765350153362096 -0.21888203094976488 0.20179786390827828" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03367135717316573 0.03334537352507768 0.0005806311724212474" pos="0.1307184423646548 -0.04808196879796478 0.20058063117242125" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04158708421578953 0.010797441274677983 0.003888216663389015" pos="0.22633596564100683 -0.01712218426326928 0.20388821666338902" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03198829074672459 0.03127861341460818 0.003793151356590186" pos="-0.025903835562105015 0.0643918529640215 0.2037931513565902" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3733694548459998 0.6750149183854 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="5194.88166763" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.411697897351652"></joint>
            <site name="object0" pos="0.0016305451540001847 0.0099850816146001 0.007000000000000062" 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.0004767481686355 0.0004767481686355 0.0004767481686355" file="mujoco_models/vase1.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/honeycombed_0152.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>
    