<?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.005340336782782268 0.0026374568703427777 0.0028521946433117612" pos="-0.18966016374552097 0.10106761268986464 0.20285219464331178" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04255344165884164 0.026806910728916545 0.004163134573590816" pos="-0.07988561928850016 0.17476750542909736 0.20416313457359084" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04184550568223854 0.012549559531568454 0.004952171423725944" pos="0.13449981782306425 -0.27018027026004326 0.20495217142372596" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009058205509238498 0.04197284083358458 0.003094196118950761" pos="-0.03552504565751341 0.02376506030740344 0.20309419611895077" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014982301447970286 0.029195699291508424 0.00021541675429597612" pos="0.2786694930159615 0.29997721040478315 0.200215416754296" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012122526552922744 0.01850543161135732 0.0017091702807197262" pos="-0.1512955538490571 -0.2342549743940731 0.20170917028071975" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03475796567070419 0.017379823793669372 0.0010579424948162282" pos="0.019457979956979343 -0.075529956559409 0.20105794249481623" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.7279056422885499 0.42907260018899995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="15851.0744521" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.303880364888591"></joint>
            <site name="object0" pos="0.0 -0.04290564228854987 -0.009072600188999969" 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.00066969167454 0.00066969167454 0.00066969167454" file="mujoco_models/Sunglasses.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/blotchy_0134.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>
    