<?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.021408847677609758 0.025192491584739428 0.0035590265668553004" pos="-0.009047975144641562 -0.20586545767537268 0.20355902656685532" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03260531973924176 0.01314944200148237 0.004044558490986584" pos="-0.12330372516324475 -0.23330694331468177 0.2040445584909866" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.048126796883981394 0.00924077505647115 0.002646513692244263" pos="-0.1360780577063636 0.14009585312552836 0.20264651369224426" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029508278032068257 0.04371113716259984 0.0025636007069843965" pos="-0.28399649573518115 -0.20806214736402434 0.2025636007069844" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018665897082026164 0.042888975187973015 0.001848328027280411" pos="-0.09620518881078863 -0.07044984289267309 0.20184832802728042" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02988097250686145 0.01565328968205346 0.00047352500848951305" pos="-0.16279287646380153 0.031088760989534503 0.20047352500848953" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006943488609855023 0.024607934002270147 0.0016418617928082855" pos="0.19844916521053169 0.20073379077643533 0.2016418617928083" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005305059614620669 0.038601872369917065 0.0032110351421764213" pos="-0.23637922328026015 0.004944693083218377 0.20321103514217642" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.036627473130159925 0.03309444241999433 0.0013783196489055953" pos="-0.16508192645962164 0.07964546853426491 0.2013783196489056" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.374997406705 0.6750090924393 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="9883.92420615" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.9379688135838866"></joint>
            <site name="object0" pos="2.593295000075102e-06 0.00999090756070009 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.00061773445889 0.00061773445889 0.00061773445889" file="mujoco_models/Planter_Cauldron.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bubbly_0091.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>
    