<?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.01036395883014319 0.014924430806246579 0.004667877177183771" pos="0.1309757437884005 -0.03040140181487272 0.2046678771771838" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03700389646423518 0.02125587103727201 0.0021092524547569927" pos="-0.2061499474655317 0.013228947955669701 0.202109252454757" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013870556295066366 0.03204607836171168 0.002053170295912886" pos="0.21223261963757895 0.16281755467831416 0.2020531702959129" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008248728426484397 0.02996350619609514 0.0035973290403706415" pos="0.008664546965895303 -0.2316316308055026 0.20359732904037064" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02565912231207284 0.022212050493158587 0.001696196736333474" pos="0.04952134292768806 -0.10507660020741541 0.2016961967363335" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012542277663259237 0.037059162493834674 0.0011455180047744572" pos="0.18317295325910188 0.287496603731028 0.20114551800477448" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022620697106204804 0.040807226913601474 0.0009250018691101117" pos="0.1783821013204822 0.27748029512024014 0.2009250018691101" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026334146314325246 0.01353027040618903 0.0008880487145554698" pos="0.24997609757031874 -0.10525647678798347 0.20088804871455548" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02535318281327023 0.022238146007420447 0.0022325560502361504" pos="0.15915495627074833 0.26109499158901656 0.20223255605023616" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03220195918417528 0.04789977289991345 0.0010331788761793654" pos="0.03836236597703807 0.11130419122703461 0.20103317887617939" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.036033840151681686 0.03803652510388554 0.0017324354980074064" pos="0.22931674770155336 -0.22097666252885945 0.20173243549800743" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014648250003101597 0.023966986028254634 0.0030007906536804745" pos="-0.12282949101425011 0.24469538697081544 0.20300079065368049" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023140494744361945 0.0059165293716685555 0.004113353652352726" pos="0.2792723374504727 -0.09220340994849308 0.20411335365235272" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028177535644675664 0.02957045953659984 0.004027942502126768" pos="-0.20889703568305473 0.20475243841802698 0.20402794250212677" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.67499999565405 0.42577363152599995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="861.91348574" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.5550124756454475"></joint>
            <site name="object0" pos="0.0 0.010000004345950053 -0.005773631525999967" 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.000284816956104 0.000284816956104 0.000284816956104" file="mujoco_models/VOLCANO.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/blotchy_0091.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>
    