<?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.028209687785966744 0.03248575059729858 0.004216377445906557" pos="0.004357819773343985 -0.1036555730763685 0.20421637744590657" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009872916261635886 0.03073403405050223 0.0007468215029048697" pos="0.21348429138397745 -0.2833263072120333 0.20074682150290488" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04241969227410001 0.011743084471491121 0.002490503435776241" pos="0.138312421723647 0.1705001033371742 0.20249050343577626" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020687209675338727 0.02547328318441936 0.00024490602482868477" pos="-0.09358436447223131 -0.14305269128756662 0.2002449060248287" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02011338463140631 0.0157437751456619 0.0008827250378854932" pos="0.26503819103870024 -0.04243269938890687 0.2008827250378855" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0322523328901226 0.046411295673658585 0.0029051216927661427" pos="-0.2238005009700469 0.17314881411454103 0.20290512169276614" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03895853952672419 0.020825877284417177 0.002743028761037423" pos="-0.04506839719835337 -0.16545332767810297 0.20274302876103745" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03838316382957629 0.0374773162886833 0.0032705738703788915" pos="-0.02661570566768573 -0.02111638039280389 0.2032705738703789" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0156237485729534 0.014020504937059572 0.004259959844427858" pos="0.2156245334482792 -0.2907930732305762 0.20425995984442788" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6373909383899999 0.438835860386" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1871.06810475" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.2164104914684997"></joint>
            <site name="object0" pos="0.0 0.047609061610000114 -0.018835860385999992" 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.0007521812322 0.0007521812322 0.0007521812322" file="mujoco_models/Vase_Mode.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/crosshatched_0150.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>
    