<?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.008688113053071522 0.025218454048305437 0.000738454344185717" pos="0.017982337828903627 0.16486782541138462 0.20073845434418572" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010061389237133837 0.04941112109233346 0.0011949239462441912" pos="0.1485871495795349 0.007394910645220132 0.2011949239462442" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.027765630830549105 0.009135797663557776 0.0035240182540748574" pos="0.23724279877627413 -0.2433245399437318 0.20352401825407487" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04551749757743473 0.026394045147897272 0.0018444470889058182" pos="0.11329776673919978 0.09223683436947544 0.20184444708890584" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.021987594589386383 0.049966533168799156 0.0012552528776677483" pos="-0.009464290706345302 0.03033041587039753 0.20125525287766777" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0065794231061524645 0.023998011319665134 0.003964610069389349" pos="-0.10387646375721787 -0.21409269616211463 0.20396461006938937" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03399567490431198 0.009931207402196662 0.002964624063092035" pos="-0.03899937315731028 -0.18696050465701575 0.20296462406309204" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03522441225805489 0.037298026367859435 0.0007957437370882436" pos="-0.028175842392961226 0.25548875827238254 0.20079574373708825" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.038849131730694084 0.025631923171827886 0.0005457224044040385" pos="-0.2748048825930997 -0.23916949895133974 0.20054572240440405" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04029594874835843 0.034490086896807354 0.0005023384473457338" pos="-0.077943534123557 -0.15936062339118637 0.20050233844734575" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004350809072202058 0.014983669018500085 0.0035616607713396128" pos="0.19210411123004734 0.1050093601560258 0.20356166077133964" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017975948324591658 0.04888433872814653 0.004213945028994569" pos="0.15451200001303422 -0.07519306703410339 0.2042139450289946" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3254905828335 0.6254905828335 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="478.209457476" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.871528694504178"></joint>
            <site name="object0" pos="0.049509417166500036 0.059509417166500045 0.007000000000000062" 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.001547169286455 0.001547169286455 0.001547169286455" file="mujoco_models/turtle-dock.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/pleated_0131.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>
    