<?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.02080213040200135 0.01609556516544086 0.0046347242727950615" pos="0.13323429055715413 -0.03435657331935743 0.20463472427279508" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0032927759652494324 0.025263140304209487 0.004423637902243876" pos="0.08166014224182538 0.12020093615318944 0.20442363790224388" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002276570901339036 0.009711694032263556 0.004700984421210188" pos="0.22288208971499696 0.13151900399485705 0.2047009844212102" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01691580322860201 0.0034186765094639 0.0037598660155205373" pos="-0.2644304743760239 0.27260897535970346 0.20375986601552054" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029997981749861215 0.029674898096422188 0.003992487209363604" pos="-0.06306660470844289 -0.056438793301590656 0.2039924872093636" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0021321191608206997 0.04952792343189951 0.0019283032165677973" pos="0.19867581705191972 -0.17007492409358646 0.2019283032165678" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.048985652375235576 0.027799142078340985 0.0029048285947901706" pos="-0.15890533064684742 -0.09995244894135788 0.20290482859479017" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0019243539321606596 0.006270344130025228 0.00013735988949991186" pos="-0.22556097723534038 0.28729946843987647 0.20013735988949993" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03191200409943877 0.043129630484041614 0.000237803905737305" pos="-0.2006906019591857 -0.07655904944732977 0.2002378039057373" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0015224473834033418 0.029162765354986762 0.0005464982001266881" pos="0.14065763047950464 -0.0037152907605492724 0.2005464982001267" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02849711801536003 0.03991303584139577 0.0024385946897332246" pos="0.15520850198191133 -0.2734353957646799 0.20243859468973324" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.2819338300504999 0.581933837151 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1630.09087881" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.9986982878289588"></joint>
            <site name="object0" pos="0.09306616994950012 0.10306616284900005 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.000930661699495 0.000930661699495 0.000930661699495" file="mujoco_models/nidoran_01.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/grooved_0110.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>
    