<?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.04103666293025776 0.005588107253415898 0.0028425898280520514" pos="0.19682434959905948 0.16282498989470728 0.20284258982805206" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0260906450803779 0.01475307103211846 0.0018016117443357205" pos="0.10935138307162673 0.059151467993713736 0.20180161174433572" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006286100822070965 0.03580637008414692 0.0013768696717106133" pos="0.19090555800657305 -0.24650955980411374 0.20137686967171062" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006964590401326717 0.011047739443488334 0.003201703113677898" pos="0.23784387411188873 -0.1838190385651885 0.2032017031136779" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016469927297821617 0.03153209849298249 0.0003732578999388185" pos="0.26019213497855415 0.061608494217886 0.20037325789993882" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04555161647811519 0.02368310503261862 0.0020055037813535618" pos="0.19550679172215696 0.10582511827224422 0.20200550378135357" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6757117277403 0.37047967946949995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3134.18716834" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.3120815558259826"></joint>
            <site name="object0" pos="0.0 0.009288272259700081 0.04952032053050004" 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.00094897032038 0.00094897032038 0.00094897032038" file="mujoco_models/SEG-JellyFish.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/freckled_0106.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>
    