<?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.006850959758494952 0.03921221696222618 0.0027929609573855204" pos="-0.1956945583120956 -0.08194288119529972 0.20279296095738553" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01574374419700321 0.017593348510005352 0.004176098198166213" pos="-0.047143851654908475 -0.23656598192375772 0.20417609819816623" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.044586957993876686 0.042171078162020696 0.003926447025188676" pos="0.14959876147788775 -0.21548206971002443 0.2039264470251887" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020530974596307133 0.028836397724826622 0.0034591956022663106" pos="-0.09423167417874131 0.29496743986879953 0.20345919560226633" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04094798138767015 0.004804711954351086 0.0031242799767403425" pos="0.2558688280010292 0.1274145736681349 0.20312427997674035" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04169063960570616 0.04569351265341989 0.0033393295345703687" pos="-0.2453741904716307 0.15987108416440277 0.20333932953457037" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02468061478679762 0.02171685225430267 0.004794116084043917" pos="0.10570527875715796 -0.2764048975461067 0.20479411608404394" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04614366187507496 0.03554527693480437 0.0029129731105118893" pos="-0.21905758306513753 0.022378524151991375 0.2029129731105119" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3770561819545 0.7366217667791499 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3124.06429807" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.041155918514415"></joint>
            <site name="object0" pos="-0.0020561819544999693 -0.05162176677914987 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.0009800678613 0.0009800678613 0.0009800678613" file="mujoco_models/Incense_Holder_final.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/smeared_0068.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>
    