<?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.02859187485216888 0.020117361168912863 0.003179022929340155" pos="-0.20251750837908689 0.0034076001352613128 0.20317902292934018" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028132903482204024 0.0491890120104397 0.004214385417425985" pos="0.05583268682629844 -0.2949915083944545 0.204214385417426" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025128695552114853 0.0011018444420859293 0.0021664949511949836" pos="-0.10521837878354803 -0.26003752501111427 0.20216649495119499" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02837927143830187 0.036692431286983206 0.0003845658621739869" pos="-0.2985991200456588 0.21665015446727592 0.20038456586217399" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026566044946474923 0.037735260696272026 0.0021487254868234056" pos="-0.11612159956046975 0.2597929372940592 0.20214872548682342" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.003700370347625772 0.044370105820993426 0.00307772960672411" pos="0.16527765171271286 0.054947211904771975 0.20307772960672413" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04992928918080922 0.01973052140953079 0.0030759020111008435" pos="-0.2482569107628458 -0.050158805884317065 0.20307590201110085" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024415382465083332 0.03176344667964543 0.0011204820309641383" pos="-0.10009885895805823 0.2671266735079701 0.20112048203096414" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02763047863250146 0.046929077972826264 0.0025595512057077223" pos="-0.13284693130552797 0.011152790629811116 0.20255955120570773" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.67499999724285 0.42110377929799997" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1267.22382995" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.8002165053044692"></joint>
            <site name="object0" pos="0.0 0.010000002757150073 -0.001103779297999985" 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.000180692056743 0.000180692056743 0.000180692056743" file="mujoco_models/VOLCANO.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cracked_0048.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>
    