<?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.023469319693664427 0.040460203719296775 0.0005701406256455034" pos="0.03486157920323135 -0.2653164979040386 0.20057014062564552" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014247072878747269 0.0058599888236360274 0.000558716893980932" pos="-0.0677860301394439 -0.09952817347510981 0.20055871689398094" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018775520014191124 0.008135850771744479 0.004198270764536256" pos="-0.21585683190898802 0.2523887418211241 0.20419827076453625" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006784139996780671 0.019403989687008117 0.004330452185513837" pos="-0.13002364903734862 -0.17108827775137928 0.20433045218551385" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0061835583130766154 0.005546533527415249 0.0012713840898516918" pos="-0.15537429217424276 0.12379900271198907 0.2012713840898517" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0353379767777075 0.033312937513037225 0.0026712001954423232" pos="-0.10032842561727814 0.00019596023589663059 0.20267120019544232" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011289065323144085 0.03630660691908519 0.002924245722945378" pos="-0.01080679291113218 0.1859876465765568 0.2029242457229454" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04490529097527887 0.01929503385263957 0.003365967680126653" pos="-0.09836005452561206 0.2840921909654028 0.20336596768012666" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0018183627012892272 0.02486540247606569 0.0004112820709856767" pos="-0.1365604113339539 0.27336669450543755 0.20041128207098569" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04324451481351611 0.00183312546898315 0.0027758309373042706" pos="0.06118580277945945 -0.08492315922366125 0.20277583093730428" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026465788598200868 0.007286321631006612 0.0037056185600416926" pos="-0.21009089545646276 -0.19951816499955233 0.2037056185600417" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03219374220826325 0.029351245519450262 0.004714558046968992" pos="0.18131463217382388 0.13305437548817578 0.204714558046969" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3753631919615 0.6821380191741 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2516.36068848" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.0056150905735746"></joint>
            <site name="object0" pos="-0.00036319196149992017 0.0028619808259000568 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.00048393350333 0.00048393350333 0.00048393350333" file="mujoco_models/brilliant_turing4.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cracked_0070.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>
    