<?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.006063959515145927 0.04443958955312357 0.0010098216457505233" pos="-0.0029909061479096444 0.20572107581252635 0.20100982164575054" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04941237560482184 0.007198048154553868 0.0035220535196175858" pos="-0.2537602978312487 0.04840836087110367 0.2035220535196176" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03878365630288951 0.017538419681046285 0.0030734208941341325" pos="-0.10587377265175285 -0.11361931049633178 0.20307342089413413" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017290227067256362 0.03278123432707038 0.0031278200335826123" pos="0.24768443528257417 0.19163748253157403 0.20312782003358262" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029460133469141257 0.031187771925224206 0.0028074929421501556" pos="0.1066014860031268 -0.04531256027756203 0.20280749294215017" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0482849985167304 0.001605239749293088 0.0008507791616942848" pos="-0.18794398245123753 -0.211464368017654 0.2008507791616943" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02997413157514997 0.0019112146997191438 0.0005996875430930724" pos="-0.22289936361837276 0.18364603729748064 0.2005996875430931" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042287169691027846 0.03338432209641047 0.0020226483967216422" pos="0.14518059912522063 0.21023486444650868 0.20202264839672165" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019229686487519472 0.03403411238021276 0.0034988758628353126" pos="-0.07210194965334535 -0.27864505393818334 0.20349887586283533" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024646472179926125 0.019752351540846314 0.004561909257146058" pos="-0.2559328581532435 0.2911015904208158 0.20456190925714607" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="294.078941747" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.162524311300099"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 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.003324832846385 0.003324832846385 0.003324832846385" file="mujoco_models/Lightbulb_Socket.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/frilly_0049.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>
    