<?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.046532254202531785 0.016706826833107345 0.0016590031718842896" pos="-0.06182872636298592 0.2333045957735918 0.2016590031718843" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.049587028176785806 0.031237783027216467 0.0038742447596778755" pos="-0.2808319141738908 0.18249601705100993 0.2038742447596779" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012346001708716588 0.016449540233876667 0.0040067295885523576" pos="-0.2840075888833802 0.07395376308345775 0.20400672958855237" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01515797501008032 0.04569263370115946 0.0016165142791578857" pos="-0.17546452523981987 -0.08198071978083657 0.2016165142791579" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028803004045674145 0.03216825705479932 0.000613972686855646" pos="0.15730626751191296 -0.027287584679519417 0.20061397268685566" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009031069264408258 0.026165268891550224 0.002775163196637762" pos="0.09536147693490626 0.06837601033162605 0.20277516319663777" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023466365877682225 0.013845964761678233 0.0014167382836796363" pos="-0.22250440349371325 0.22928648046121974 0.20141673828367965" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042734858935628464 0.02560498172312682 0.0010103105831695749" pos="0.11947435668903983 -0.24418118873109138 0.2010103105831696" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3618914198265 0.6823640890257999 0.41300000005049997" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1202.19050649" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.2428095200213949"></joint>
            <site name="object0" pos="0.013108580173500028 0.0026359109742001285 0.006999999949500013" 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.00241010929546 0.00241010929546 0.00241010929546" file="mujoco_models/heXS34oh3pk.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bubbly_0043.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>
    