<?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.04506388837562337 0.026073812845031828 0.0049814427243962504" pos="-0.2536573591357319 0.10250793142815434 0.20498144272439625" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0048062737659603835 0.01867112975210033 0.004768918180534457" pos="-0.28934098703889816 -0.12557016480850713 0.20476891818053447" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.035003227313316 0.004489344268494875 0.004108323418618467" pos="0.09825279723151703 -0.07948399711641854 0.20410832341861848" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03480767087873674 0.04160722628348248 0.0017929369959801573" pos="0.17874409951907871 0.04476208452709518 0.20179293699598017" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020018861156427443 0.041333845725116995 0.0030539225966062606" pos="-0.1664654453700585 -0.2851072733866776 0.20305392259660626" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04035939077808306 0.04643622563169157 0.002823758019365761" pos="0.05168496852917065 -0.05914997146047188 0.20282375801936578" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.047991567234260325 0.027424505003208106 0.003622452530230322" pos="0.09173874341896904 0.026917618529467724 0.20362245253023034" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013904274312702292 0.018204919709033648 0.00267912230233787" pos="0.11601966037205058 -0.00328116287032576 0.2026791223023379" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03993269958240503 0.04697721801130942 0.0010321229133063974" pos="0.04556643653620518 -0.020057426550069646 0.2010321229133064" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031143890174347908 0.026653055017719186 0.0037312426965232684" pos="0.17251383922940844 -0.06829111380312586 0.2037312426965233" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009212305087597895 0.03951487537031389 0.001960902624740708" pos="0.11065139579545263 -0.25909748490526713 0.20196090262474073" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.43760492626799996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="823.561732257" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.2517142808877202"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.017604926267999976" 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.0010827726307 0.0010827726307 0.0010827726307" file="mujoco_models/Tree_3_pot_HD_base.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/matted_0118.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>
    