<?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.026591859626089148 0.005861240733433466 0.00039723003761802403" pos="0.06960974139366205 0.17813475777595783 0.20039723003761803" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04983482300394541 0.02884265639998485 0.0012245370011168958" pos="-0.056954061697859826 -0.23601621012493296 0.2012245370011169" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.021279662779841196 0.04216819671739924 0.0020119785882679844" pos="-0.2689598545143742 -0.2004531475223757 0.202011978588268" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03381420743877014 0.03487005022005115 0.0010704045729561587" pos="0.18608492530650417 -0.13148662086761193 0.20107040457295616" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028230046446930435 0.01607757646930752 0.003496273393780496" pos="-0.07459493109109844 0.1570841536916333 0.2034962733937805" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024687878736000608 0.03237324145051331 0.004637660375024471" pos="-0.038793131399433634 0.030386985077560547 0.20463766037502448" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010266771687893108 0.03497818089485065 0.0011422664987397943" pos="0.11397492449201979 0.2539100582059251 0.2011422664987398" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04712374357376799 0.04028958108624906 0.002741808523305057" pos="0.2023311172979662 -0.025344180081968426 0.20274180852330506" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019468967384889985 0.035414421343332066 0.0011158881146467628" pos="-0.25543227631396515 -0.0803840249285685 0.20111588811464678" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017691131891376412 0.006905681050830051 0.004287355249647276" pos="0.10088867286492492 -0.28452530190625885 0.20428735524964728" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02746781829828147 0.00853635616055842 0.0026049786700586474" pos="0.1627515356237697 -0.05216783036096356 0.20260497867005867" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3728507759345 0.6750196639467 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3593.40907338" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.2585345539309646"></joint>
            <site name="object0" pos="0.0021492240655001105 0.009980336053300065 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.000628402491475 0.000628402491475 0.000628402491475" file="mujoco_models/vase1.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/potholed_0068.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>
    