<?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.009149502602420315 0.04657842105112366 0.00453791780168721" pos="0.05225159680071201 -0.2185466032673657 0.20453791780168723" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015795983746563644 0.01230925293280518 0.0039814911326046185" pos="0.24100457324930874 0.24191473422618598 0.20398149113260464" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03316005519865721 0.042461335155684156 0.003461503828568043" pos="-0.007244274418307661 0.00962608398963305 0.20346150382856806" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03297171138855524 0.008043342179780297 0.0019517429340321928" pos="-0.22547068967704975 0.19388742998579328 0.2019517429340322" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02105920745151603 0.022321647763065652 0.0013807095982072955" pos="-0.2513809151882424 0.1560637797741966 0.2013807095982073" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017266873157374275 0.007084518676293363 0.004539853102900859" pos="0.07528816987903614 -0.0607488581003684 0.20453985310290088" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016144309195813483 0.014380565305018436 0.0023929441218869777" pos="-0.298518662329718 0.08475954901013916 0.202392944121887" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02085976963866358 0.03773765117022501 0.0029324863861542832" pos="0.19685341697786057 0.27628564898576075 0.2029324863861543" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024449309743583548 0.04924263576624291 0.004477079777380577" pos="0.2512814529106819 0.05259650219273665 0.20447707977738058" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019510739581558044 0.04245655868720362 0.0018822347912361038" pos="0.18053589415549315 -0.08964897645105271 0.20188223479123613" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.034892537376617606 0.03602776485195057 0.00022368134995345092" pos="-0.029251735708712978 -0.1894746798932589 0.20022368134995347" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.044258348659860856 0.04749229819556932 0.0024658789796758646" pos="-0.16188707558394796 -0.2513646326603437 0.20246587897967588" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03616803687786906 0.034136627921761566 0.004091087605415468" pos="-0.23817070177480615 -0.017336458566995616 0.20409108760541547" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004621248866163493 0.044963247436338505 0.002216788365333249" pos="0.25837408145652757 -0.16674489349055766 0.20221678836533327" 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="3034.44158636" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.62643230143672"></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.00093815364686 0.00093815364686 0.00093815364686" file="mujoco_models/ash_tray_with_design.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/honeycombed_0050.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>
    