<?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.049592630648270894 0.011136850263804 0.00084832313258525" pos="-0.08137892281247291 0.03054757751263837 0.20084832313258527" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03356046658365667 0.018679923093538754 0.001219364027636812" pos="-0.2968653417551675 -0.18993180057371006 0.20121936402763682" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005903114657012747 0.0128633834071792 0.0016806149158354717" pos="-0.2527569591543206 -0.056492424677331815 0.20168061491583547" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009213677907422037 0.029487010032808087 0.0019515993333719835" pos="0.08379123943635558 0.16569263240405807 0.201951599333372" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0051504467461771595 0.01974145515696586 0.004891098382780043" pos="-0.2986142423662058 -0.024653395937116795 0.20489109838278005" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023976568236827346 0.04136235632260641 0.0015221118433718069" pos="0.16561838981778443 -0.2986798664619824 0.20152211184337182" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025046750870475185 0.01664670392661512 0.004059962095485301" pos="-0.058231632724597165 -0.2580729482325865 0.20405996209548533" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.035710961283241804 0.0016479263894711282 0.0017386410439449375" pos="-0.0010020013471165878 0.1450454466657473 0.20173864104394496" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016340131733126744 0.006100775269137446 0.004143757030209636" pos="-0.2941064027043991 0.22387867947067613 0.20414375703020965" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006218379418252826 0.007159346772880676 0.000914521435275292" pos="-0.21099419431419392 0.17686743104767916 0.2009145214352753" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.040738086858660205 0.009303931341787391 0.0006513363412664537" pos="0.04348837805128625 0.119824174414001 0.20065133634126647" 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/studded_0100.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>
    