<?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.03312114511059313 0.02161613713371161 0.004467562729955874" pos="0.17809697674839126 0.16641871596552954 0.2044675627299559" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03372651528430864 0.018671612445804404 0.004340086177854005" pos="0.09786985330421544 0.1970682640500005 0.204340086177854" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03615760466044994 0.04057454009990085 0.002665933071802417" pos="0.16972204939624197 0.25949919015726247 0.20266593307180242" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.049704825189787354 0.013098861475764778 0.0018242022368983295" pos="0.2727648919499936 0.1281951766517534 0.20182420223689834" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00710850945098395 0.0365684142053115 0.0025826482939640075" pos="0.02588445466885969 0.0395414378045047 0.20258264829396402" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007996493701320745 0.028154409625952004 0.002331121627066593" pos="-0.19704986379570189 -0.23387986479123843 0.2023311216270666" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03889489605300395 0.04119651544203236 0.0011540668216758845" pos="-0.2616661158008148 0.003315555324604702 0.2011540668216759" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031689205109583035 0.02293005970899116 0.0022840294571092544" pos="0.027019679304617905 0.09691489781344126 0.20228402945710927" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002601429587912368 0.011740158007754908 0.0027225099168092684" pos="-0.16456919129636666 0.17528613934674392 0.2027225099168093" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.364566636127 0.6704159591355999 0.41317325706599994" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="4584.43409021" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.26794558538819"></joint>
            <site name="object0" pos="0.01043336387300009 0.014584040864400127 0.006826742934000041" 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.00063232508321 0.00063232508321 0.00063232508321" file="mujoco_models/WillTankGrey.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/dotted_0158.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>
    