<?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.03000942985084002 0.005215922970752839 0.0037773170868793788" pos="-0.19525283637120658 0.10975480991283959 0.20377731708687938" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009020478244095485 0.034344689519716046 0.0034003849679268136" pos="-0.04633012196243963 -0.12470025685584399 0.2034003849679268" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046159995053379255 0.03504046693097153 0.0025498610655771315" pos="-0.23288088522499611 0.19701379843801875 0.20254986106557715" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0055596235547836674 0.0018702724107856382 0.004045344358209886" pos="-0.26705129358647156 0.16565800776404044 0.2040453443582099" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029775705727357084 0.006091602848756629 0.001277530944103846" pos="0.1956138173171162 -0.08346090807227971 0.20127753094410386" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026703293106933493 0.04637354041359902 0.0010749407603188412" pos="0.1198495640201756 0.07239725186307694 0.20107494076031884" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013302483707173483 0.04775301848029108 0.0030342819401785568" pos="0.2338698364936162 -0.12926944748624428 0.20303428194017856" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03376846652484148 0.0031524150150921562 0.0032343120168230543" pos="0.09445334457311172 0.06263403313246024 0.20323431201682307" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026663296388564742 0.012586005714702229 0.003282121249072214" pos="0.09481929683041601 0.14221989782817213 0.20328212124907222" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03932324484987731 0.00490971349205346 0.0022482839268430353" pos="-0.14388186513263615 0.2774671320098801 0.20224828392684305" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.44665377146049995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1534.16427715" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.1075549449657904"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.026653771460499964" 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.03948307868405 0.03948307868405 0.03948307868405" file="mujoco_models/Low_poly_bowl_or_cup.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/sprinkled_0039.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>
    