<?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.023709831557324104 0.020788713882343053 0.002357237654416077" pos="-0.27326832307289944 -0.05335881297809894 0.2023572376544161" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0058522660121979675 0.039438687573970094 0.004614861333558888" pos="0.13728881167697782 0.09153627790714891 0.2046148613335589" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04043462152623996 0.025194198087923846 0.001852848833723384" pos="-0.23779261213080682 0.17498045033256387 0.2018528488337234" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04104550056227102 0.020908310571933483 0.0015636844508149456" pos="-0.10621695788193788 -0.22507693584789235 0.20156368445081496" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016211221079125447 0.04983974690321489 0.000660429673017958" pos="0.2250646075105332 -0.29897074328900297 0.20066042967301798" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03687649548387152 0.02178173808911649 0.0010282588722080883" pos="-0.17502217600779846 0.16036502128956026 0.2010282588722081" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014996208730113921 0.03772825271176255 0.0040302503029055175" pos="-0.19311908972873576 0.08724354493138964 0.20403025030290553" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04946387593729272 0.003940474252852683 0.0025993891871896086" pos="0.23288076264149088 0.08519649036824001 0.20259938918718962" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6758721194724 0.360897493089" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="964.09722969" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.4442534278438535"></joint>
            <site name="object0" pos="0.0 0.009127880527600052 0.059102506911" 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.001162825963185 0.001162825963185 0.001162825963185" file="mujoco_models/SEG-JellyFish.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/woven_0001.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>
    