<?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.027910481237640738 0.03739072308500444 0.0004916467269833912" pos="0.18507371668286526 -0.12263926353510982 0.2004916467269834" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.045959050455457645 0.01346509841543492 0.003730718542690021" pos="0.2640560571951978 -0.20827005409916804 0.20373071854269004" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02492230754648931 0.024819639824520765 0.001453529716686895" pos="-0.015439260891881967 0.03688738867825836 0.2014535297166869" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.032936974553273025 0.03736253299973082 0.003074433395996546" pos="-0.23094552983978722 -0.010981623500425641 0.20307443339599657" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.044476626726527316 0.03900543871674739 0.0020135743309029138" pos="-0.03984790238834712 0.15003933092128946 0.20201357433090292" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02226015962122867 0.028646971759923354 0.0029507998022790323" pos="0.1664388291073456 -0.2945003220983226 0.20295079980227904" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0038463658370113908 0.026266950139770217 0.003936402401634383" pos="0.18168092591038 0.2816819087816433 0.20393640240163438" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03336630772866202 0.04522267203067288 0.0002867776311888086" pos="0.2119522498879935 0.05488451686582463 0.20028677763118882" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0407945874665613 0.04665933559366127 0.0023896710299952653" pos="-0.230990943211487 0.08065333276815334 0.20238967102999528" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023109084840238502 0.048701537947116805 0.0011609378086341175" pos="-0.20596579975011525 0.06308516816507176 0.20116093780863412" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018736117385667085 0.01456089593160826 0.001795642919784148" pos="0.17135405434975048 -0.22539118413548861 0.20179564291978416" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007561626294414252 0.04256254687143765 0.0002708518113835065" pos="-0.0386678818912945 -0.10685375603239433 0.20027085181138352" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1486.90785883" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.150572795726194"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 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.001157152810955 0.001157152810955 0.001157152810955" file="mujoco_models/ash_tray_with_design.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/stained_0080.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>
    