<?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.04833230025819852 0.039022467418293905 0.0014312250397451132" pos="-0.06285512382944008 -0.08856180494992555 0.20143122503974512" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007021392004330208 0.04518333608567178 0.001835338828895014" pos="0.16768207470278468 0.08966379272305092 0.20183533882889504" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.027225393079689374 0.001870731933554737 0.0017707160381790648" pos="0.008323624134502994 -0.2493821132107995 0.2017707160381791" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010213119472377182 0.0027107035485292494 0.0017032257202128148" pos="0.0352097091262365 0.14872347044207124 0.20170322572021282" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02903784386784901 0.005826695278710624 0.0017979410641760151" pos="0.20668555063469668 -0.160863063407499 0.20179794106417603" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0356027362536822 0.015257589857995971 0.002538697854157668" pos="-0.03966790870075787 0.18471336819239514 0.20253869785415768" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007508209974373686 0.036213448248009934 0.0016462626106841427" pos="-0.03001065875267317 -0.28013341128630226 0.20164626261068416" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02160470627110707 0.001343766178855223 0.0032094881398283042" pos="-0.21076780955734636 0.2580356604504786 0.2032094881398283" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03193039577297207 0.03519756925184743 0.0015840284614191597" pos="-0.19196865818707187 -0.2984977284524904 0.20158402846141918" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022122431112851896 0.04915120213210875 0.000677814005038317" pos="0.11275158709410982 -0.1241504158323875 0.20067781400503834" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.351030744332 0.6510307443318499 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1397.11882265" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.43084296353085955"></joint>
            <site name="object0" pos="0.02396925566800001 0.03396925566815012 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.00377468570523 0.00377468570523 0.00377468570523" file="mujoco_models/Cube_Stand.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/smeared_0127.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>
    