<?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.0019846324015538293 0.003410294189196097 0.00443246595949954" pos="0.24570497828913834 0.17407337659577998 0.20443246595949954" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009330360819179519 0.022074626538709397 0.00035338715209226054" pos="0.20172922278913258 -0.13490186836818788 0.20035338715209228" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03049809710244231 0.04470702610775339 0.00493820203538435" pos="0.044287360948819465 0.27822041270378056 0.20493820203538435" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01816402488461805 0.03553141189501885 0.0029315390119820767" pos="0.11420712432257507 -0.16948888066052928 0.20293153901198208" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04322820393000392 0.03722788182858862 0.0024452681729275126" pos="-0.020141970713798973 0.16223372753542947 0.20244526817292752" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04531701574588016 0.01656933500882422 0.0027503863407943403" pos="0.10102985788675867 0.2969468819451004 0.20275038634079434" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029822970102982148 0.021806130459546873 0.004518000207865678" pos="-0.0784462057429827 -0.1732043980326978 0.2045180002078657" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024368333662042458 0.005029483471480801 0.0012645308901512175" pos="-0.2499013348714979 -0.07334882408083127 0.20126453089015123" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012326562634488256 0.04506246852733204 0.0009449500915429104" pos="0.05163637955789202 -0.2824082385264202 0.20094495009154292" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011837031614748424 0.03826106959353287 0.0013648318562155758" pos="-0.21611189000912212 -0.22467427073570265 0.2013648318562156" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02407997618668975 0.020386309408636373 0.00330111230448755" pos="0.03611649681977669 -0.2530984584758939 0.20330111230448755" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3577380415095 0.6725379359628 0.4130014105209999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="4524.42885764" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.3029400896405257"></joint>
            <site name="object0" pos="0.01726195849050005 0.012462064037200071 0.006998589479000061" 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.001410521103435 0.001410521103435 0.001410521103435" file="mujoco_models/quilava_with_frills.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/paisley_0072.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>
    