<?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.0068360061287189924 0.003980447671337119 0.0016823069672702873" pos="-0.0176348068028353 -0.01034602369571036 0.2016823069672703" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0013555469328666461 0.028194540080389865 0.00493858322717653" pos="-0.22125724430218394 0.12215928969673445 0.20493858322717654" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007598125737014686 0.023446592893430616 0.003085802376428948" pos="0.05030180420877256 -0.24821815565078034 0.20308580237642895" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02736548053669169 0.013376530939173018 0.0011040792615041551" pos="0.17966626328771923 -0.08568992759557556 0.20110407926150417" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011432561660765225 0.025959643606267853 0.0022870822106109616" pos="-0.12937526333186236 -0.1227133462791338 0.20228708221061098" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0489677033629914 0.025103909855586817 0.0003099860186751288" pos="0.17961411054704246 0.1433476413016032 0.20030998601867514" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022334620763880868 0.027246712778172373 0.004409541186594576" pos="-0.24435975507828414 0.0308516105949751 0.2044095411865946" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015029882289665099 0.03984947662619317 0.003154437481060913" pos="0.10237902915018182 -0.19641814563219745 0.20315443748106093" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04241140473034275 0.03479551588134261 0.00349254259295514" pos="-0.2929238224351283 0.23591505904475368 0.20349254259295516" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.041163861589980484 0.0025410562213920686 0.004281285743189694" pos="0.1917833733595865 0.10702375155844329 0.2042812857431897" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.4129999981779999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="5469.0042361" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.152043950945029"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 0.007000001822000057" 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.00509638153435 0.00509638153435 0.00509638153435" file="mujoco_models/pot_of_gold_handles_rev2.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/striped_0097.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>
    