<?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.025649095685386723 0.017736613201940005 0.001160821485590001" pos="-0.2975168008873063 -0.20308677594062285 0.20116082148559" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030966537660016634 0.005784806791366458 0.0037094749908307568" pos="0.08961142529562843 0.06957758340522147 0.20370947499083078" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00992090225163525 0.02944713646123449 0.0031829844518133743" pos="0.23035750883949074 -0.08772142200820546 0.20318298445181338" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029685008060396804 0.02492305353959852 0.0014901996666053182" pos="0.17154497719643902 0.226190388451238 0.20149019966660534" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006551111820029688 0.0057353184935623695 0.004010387918230051" pos="0.18831469077977775 0.07460910011448707 0.20401038791823006" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04542733955778281 0.0011472435870271164 0.0006061040898003141" pos="-0.007887715557333641 0.22281084364913967 0.2006061040898003" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02770363779754076 0.013101259174828486 0.0002573886651328918" pos="-0.11794880716713332 0.1783437487622455 0.2002573886651329" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019757574718137334 0.017349157609450883 0.004768999188689281" pos="0.013916601533695172 -0.061591732101788005 0.2047689991886893" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.38292349696 0.6781676506076499 0.40311524763099993" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="9672.90237984" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.5150974823308045"></joint>
            <site name="object0" pos="-0.007923496959999943 0.006832349392350112 0.016884752369000056" 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.000128152669585 0.000128152669585 0.000128152669585" file="mujoco_models/1960_corvette.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/woven_0015.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>
    