<?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.042961505298747545 0.022640956583300585 0.0015610406302386836" pos="-0.0896390786485683 0.21181287665223142 0.2015610406302387" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022338460460515065 0.023265169209816892 0.0002633489663871328" pos="-0.12976788282778295 -0.12657621747154466 0.20026334896638714" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.032841924709251374 0.0462715061280259 0.003688298349668357" pos="0.15802484853742477 -0.04728065234527912 0.20368829834966837" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01289084454463886 0.014132066187813215 0.001554918875756891" pos="0.15736111257284152 -0.05209667923248848 0.2015549188757569" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02844855715372557 0.044723245562590566 0.0015004936856181264" pos="0.2755355397115566 0.27849960678504054 0.20150049368561815" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022162261998105594 0.005676202419914804 0.002572654898730558" pos="-0.03996459253153439 -0.038276856134123294 0.20257265489873058" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005657981121346445 0.039249684833600945 0.0037899697934819427" pos="-0.07279976880332431 -0.27254835740914973 0.20378996979348196" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999962625 0.42398520075249996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="697.524952719" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.688703213699391"></joint>
            <site name="object0" pos="0.0 0.010000003737500096 -0.003985200752499973" 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.0002449398539555 0.0002449398539555 0.0002449398539555" file="mujoco_models/VOLCANO.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/lacelike_0009.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>
    