<?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.03336331819489203 0.04152720389979464 0.00311256196505678" pos="0.15875656369654445 -0.14154559215967752 0.20311256196505678" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01880736004662421 0.04115916581741595 0.0033707823766304097" pos="-0.18473005046853286 0.2575750633512825 0.20337078237663042" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04969802471340891 0.028271845969707027 0.00392849821960498" pos="0.2713103111551651 0.14255457139816285 0.203928498219605" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03116300451913058 0.01255696955958881 0.004166527975354383" pos="-0.14916184955303521 0.01370933672747865 0.2041665279753544" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0271416237398372 0.02925194392443359 0.003971837805649263" pos="-0.11722194901826713 0.23646444355308244 0.2039718378056493" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03986492815586447 0.014228736352144857 0.004094144420380608" pos="-0.16225460213680562 0.1639886972389491 0.20409414442038062" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012102425923794444 0.010099308421500634 0.0021452002278378544" pos="0.2897625518513131 -0.13583658405458696 0.20214520022783786" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018691149462109653 0.0026634942228438915 0.0028395865839887222" pos="0.14202141506058952 -0.29325631828565046 0.20283958658398873" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01288966310412483 0.01293058321346078 0.0009523805026764274" pos="-0.26141171619825704 0.04707248767774874 0.20095238050267644" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008732205840168919 0.03282944900979308 0.0023002879354408414" pos="0.2891347228915347 0.24388386271196266 0.20230028793544086" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750398441545 0.6745601516688999 0.41240796297149995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="127.307151726" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.4104153355533587"></joint>
            <site name="object0" pos="-3.984415449997947e-05 0.010439848331100121 0.007592037028500032" 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.00077289522277 0.00077289522277 0.00077289522277" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/flecked_0121.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>
    