<?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.024516836653262184 0.04600318443972559 0.004184038177918065" pos="0.052882414647682785 -0.1386612278075225 0.20418403817791808" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01462080511098246 0.034640125115449616 0.004648584643114578" pos="0.2401340472350934 -0.0011600219296152847 0.20464858464311458" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03873010007277801 0.008940803247881188 0.001275524489388156" pos="-0.007147978761976259 0.08649249267440962 0.20127552448938818" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03433469982972148 0.017847164701249287 0.0013623578226915338" pos="-0.12459571183347246 0.19694660119767288 0.20136235782269155" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.027041041141840676 0.009770583987376374 0.0020187946944532475" pos="-0.05056829736632279 -0.042169002056304916 0.20201879469445325" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.032630161020517315 0.04163770110873867 0.0011198361716604278" pos="0.07817287499215819 0.05514134217840949 0.20111983617166043" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010248448041710618 0.03782865812300638 0.0009679649379150636" pos="-0.03113418372204224 -0.17733121295981896 0.20096796493791508" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004602918218705639 0.018995210333317077 0.0028337045631667045" pos="-0.06841876903857907 -0.0798071607723736 0.2028337045631667" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0016734596980498893 0.04402615415924376 0.002084608661808208" pos="0.17187390618519566 -0.2620263816975251 0.20208460866180822" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02062746276668671 0.049008665095722895 0.0011323495577663528" pos="0.15234009102892532 0.25694801738457845 0.20113234955776638" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999962323 0.42407393676399996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="667.82532919" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.587410649435337"></joint>
            <site name="object0" pos="0.0 0.01000000376770005 -0.004073936763999975" 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.0002469184236865 0.0002469184236865 0.0002469184236865" file="mujoco_models/VOLCANO.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/grooved_0086.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>
    