<?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.02077337150449653 0.013528535775265822 0.002249518711257661" pos="-0.011645155828711562 0.03061033005138658 0.20224951871125768" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0467751461281366 0.03978722078898397 0.0009635465748304232" pos="-0.22527201861585838 0.24572332430937244 0.20096354657483043" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02785314709128491 0.014132653548129998 0.004889378986155811" pos="0.182376189603557 -0.2954908414734303 0.20488937898615583" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02128182211669127 0.03810599991709868 0.0012736960691485306" pos="-0.2701710957945474 -0.27112705530905784 0.20127369606914855" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.041348276800353155 0.049738816861442645 0.003651045570026833" pos="0.19773692810393845 -0.23891073031371757 0.20365104557002683" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031161967093981797 0.0428368244578565 0.0025796543279658925" pos="0.07083376842807826 -0.18562518492129498 0.2025796543279659" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.037808995844697164 0.02477173321338115 0.00403906634771987" pos="0.058290218658230086 -0.28770968092462657 0.20403906634771987" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012603252369650503 0.03874812325385035 0.00013560496339181947" pos="-0.21012901658784966 0.169848310153077 0.20013560496339183" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01742578678751401 0.028152302399894625 0.0040188110949796775" pos="0.2597360009998177 -0.008399955862973985 0.20401881109497969" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.287110422591 0.5871104292964999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2692.07230235" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.3499923880217906"></joint>
            <site name="object0" pos="0.08788957740900005 0.09788957070350013 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.00087889577409 0.00087889577409 0.00087889577409" file="mujoco_models/nidoran_01.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/striped_0026.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>
    