<?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.006982194734986892 0.013720411441383355 0.00039438202513496397" pos="-0.17408371567791484 -0.22061659508816228 0.200394382025135" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01046857833125325 0.034587890149742735 0.0003425487468792319" pos="-0.2388872308510701 -0.2194958171530274 0.20034254874687923" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016510514926948567 0.015638765231745105 0.0013498125480515331" pos="0.15032199205944974 0.2988136726548603 0.20134981254805154" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.027164918257810998 0.047265933177783166 0.0020433895494177167" pos="-0.23599053191837194 -0.0547357023180976 0.20204338954941772" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015510260897319973 0.02517694115216973 0.0033195140168904734" pos="-0.023369868508555103 0.26109630724669536 0.2033195140168905" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04435347629266962 0.035396902163143666 0.0024994560705862904" pos="-0.22098763091132587 -0.06179179993341996 0.2024994560705863" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03551567543065751 0.014959390507132828 0.0006095415799627601" pos="0.24473907450637683 0.12543048588932676 0.20060954157996277" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031148544905119764 0.03983244637483691 0.004194665584159031" pos="-0.009924601097386021 0.22871295084566395 0.20419466558415905" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04590453152435417 0.014306003675814288 0.0030769722629748917" pos="0.015950417292281527 0.022767467491141447 0.20307697226297491" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04694549160426354 0.015954246431958422 0.004918826493349423" pos="0.24127872888253926 -0.02476626683189842 0.20491882649334944" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04105520991729014 0.03868330272168689 0.0034216853511307536" pos="-0.10809966637010743 -0.18212940490742763 0.20342168535113075" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6759061097090999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="938.763907146" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.213559520182107"></joint>
            <site name="object0" pos="0.0 0.00909389029090013 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.001399399212825 0.001399399212825 0.001399399212825" file="mujoco_models/Filament_Spool_Leveler.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cobwebbed_0075.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>
    