<?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.035437245634142196 0.014765916999212984 0.0006020990726848054" pos="-0.2106533759544708 0.19911574101941237 0.2006020990726848" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010262691093622895 0.0464518192462008 0.002107425415367371" pos="-0.10842681879074395 0.21399207749077015 0.2021074254153674" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033530981992976806 0.01774884897920468 0.002721873879042148" pos="0.05189486604825144 -0.13592994544981465 0.20272187387904217" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03251974363505173 0.014916043191793113 0.00444102798937218" pos="-0.2855745495849295 0.09537553084039802 0.2044410279893722" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005219991874412443 0.025449984354823926 0.0009145169563605248" pos="-0.08808990534161495 -0.1511349838739015 0.20091451695636053" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0016635159417609261 0.02344304942399567 0.003602588297653409" pos="-0.27395258440918185 -0.22707008488973446 0.20360258829765343" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0487547614321018 0.019682579013071935 0.0048649226257013985" pos="0.07604482705941784 0.23929649163856387 0.2048649226257014" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022121024301957237 0.018777090422035465 0.003292226085977211" pos="0.1729330169132582 -0.2945137739553419 0.20329222608597722" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030427433211966295 0.014169457876609316 0.00348180960606998" pos="0.1895713952860843 -0.2932756121616887 0.20348180960606999" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3849861350385 0.6604478061681499 0.4483328008959999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="317.418070698" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.2973865229229973"></joint>
            <site name="object0" pos="-0.009986135038499988 0.024552193831850144 -0.028332800895999932" 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.00153258590324 0.00153258590324 0.00153258590324" file="mujoco_models/Tree_1_pot.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/veined_0133.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>
    