<?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.01498988671004069 0.04887353612417675 0.0007383015306723662" pos="-0.0156437342130874 0.1373226586318747 0.20073830153067238" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02256934911958912 0.02621004910748144 0.0024265970285121353" pos="-0.2678321558324987 -0.10711057353189357 0.20242659702851215" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0050627582848786325 0.03825544116613593 0.0024401892893422933" pos="-0.05570302715198766 0.15655736169693696 0.2024401892893423" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033198842387512015 0.021250403599552475 0.0007560999382666931" pos="-0.01044173932125092 -0.18453782599460666 0.2007560999382667" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.021554736967414816 0.04415683690301426 0.0014518496500448355" pos="-0.03977500656622024 -0.2811116281851902 0.20145184965004484" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0448074715295985 0.004897116252776397 0.003208870459418449" pos="0.2828554951589846 0.24786847584365063 0.20320887045941846" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0025169592554357186 0.014240148400657703 0.0006277596200631221" pos="-0.05669381832887649 -0.02835455843936785 0.20062775962006313" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009192812897986888 0.03895236542293617 0.0018097961688906615" pos="-0.06050064984133979 -0.12166634155291603 0.20180979616889066" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015040937493038514 0.021579513460008668 0.002110215581120287" pos="0.009102234742624227 0.12533951976587526 0.2021102155811203" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006476791470692929 0.005558073716466248 0.000861609007864995" pos="-0.24229362079501615 -0.20242163415673636 0.200861609007865" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002530517453480905 0.041524530097391224 0.004025373477306243" pos="-0.2857057054188908 -0.10499997289377408 0.20402537347730626" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03169819294259931 0.008507886505482861 0.0009411049515604033" pos="-0.2595996136977432 -0.2055061596804177 0.20094110495156042" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="390.084701442" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.9387590604512703"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 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.0057436708365 0.0057436708365 0.0057436708365" file="mujoco_models/hexagonal_prism.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/matted_0150.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>
    