<?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.04353199264844633 0.01656998620501365 0.0001627763606163073" pos="0.019874567092322604 -0.24343610373875518 0.20016277636061633" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025466103734476782 0.037248995900013446 0.004244297897770521" pos="-0.10631197753093294 0.2032823153288777 0.20424429789777054" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0037993772792163953 0.031165450317837108 0.0018128917446625457" pos="0.029251226161392252 -0.18483132459201634 0.20181289174466255" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012330523724096244 0.041982900380335614 0.004008209786396277" pos="0.2125961325832713 -0.012967218299390626 0.20400820978639628" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033444446894852785 0.02345138964437554 0.0013207083727716589" pos="-0.29628137276619704 0.25188405344925296 0.20132070837277166" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.035158070898672546 0.03930975811126675 0.0004631563793518677" pos="0.22974625998334702 -0.2119592403000375 0.2004631563793519" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042309013213117266 0.03847129278828853 0.0037202092267838095" pos="0.11231860865211363 -0.1784989735663346 0.20372020922678383" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033231756452140715 0.006320926681377982 0.004312125527144737" pos="-0.17977756759407043 -0.036236801303002886 0.20431212552714476" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.67563145256115 0.37527551101199996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="8130.0493934" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.6554124583766585"></joint>
            <site name="object0" pos="0.0 0.009368547438850072 0.04472448898800002" 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.00084193674823 0.00084193674823 0.00084193674823" file="mujoco_models/SEG-JellyFish.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/spiralled_0103.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>
    