<?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.028550970636538976 0.003472954033617416 0.0023095961430784425" pos="-0.10732950277800071 0.2823071839203261 0.20230959614307845" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011299946165780068 0.006416915455631752 0.0007231175897852503" pos="-0.11416077137204872 -0.21826342529871307 0.20072311758978525" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018692188913334733 0.011303275058989187 0.0006091868645778411" pos="0.09406664273733623 -0.05499897007933133 0.20060918686457785" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03859464623187621 0.047371784376066414 0.00239062595397842" pos="0.09851916680375694 0.04457220117626026 0.20239062595397844" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025583308211440333 0.046535262124263635 0.0031083049800866916" pos="-0.11168549457363683 0.0856920508826371 0.2031083049800867" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01697626353431018 0.027571099243774464 0.004279578070324047" pos="0.016272048618229673 0.15245181778430267 0.20427957807032407" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.039164724708426 0.02733240801598878 0.004701408878896273" pos="0.23463499834652796 0.2163717686767616 0.2047014088788963" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005698367356426483 0.03550307296320439 0.002310128265170159" pos="0.028152580029269347 0.043643227068177415 0.20231012826517017" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012181950680232614 0.03409908747185697 0.0007711625014399207" pos="0.09441527017947021 -0.20187447173693307 0.20077116250143992" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03488237286242133 0.04289490388804824 0.0033852700905978735" pos="0.0010470836845987708 0.10500525548215989 0.2033852700905979" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014392657982068683 0.0016733661516223374 0.0032967261410832595" pos="-0.15872988184895495 -0.13837501489278764 0.20329672614108327" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02976915617128761 0.03910180424234499 0.0013053436062251587" pos="0.0017694040713214787 0.029230146997539896 0.20130534360622518" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020746295628144402 0.046359656528231714 0.002078084582467783" pos="0.12998103454795773 -0.05945200133956291 0.2020780845824678" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750319956935 0.6746467925462499 0.412524581824" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1336.333306" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.1527373224670523"></joint>
            <site name="object0" pos="-3.1995693499986544e-05 0.010353207453750124 0.007475418176000004" 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.00062065110707 0.00062065110707 0.00062065110707" file="mujoco_models/Vase_Lamp.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/knitted_0177.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>
    