<?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.0018401884406372125 0.012938126947433112 0.0005436984674383879" pos="-0.16802607626648638 -0.2416446900000903 0.20054369846743839" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024985960474695534 0.016731542933186766 0.0020168766863951416" pos="0.2785754317180192 0.027989084721260493 0.20201687668639515" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0410614748779259 0.02536209038905443 0.0022720003948689077" pos="-0.23556467531361255 0.07426278702681327 0.20227200039486892" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03757172352272597 0.004081813694834389 0.00258699151796052" pos="-0.14395375561939974 0.2585722581566677 0.20258699151796053" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03781920477007695 0.027362704222849813 0.0014531869136318754" pos="-0.08218063936000122 0.12177444492349254 0.2014531869136319" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010896274979660774 0.033501940214435116 0.001543894703433828" pos="-0.21834014034649762 -0.08646319054365961 0.20154389470343384" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01163529024120346 0.0427603385528821 0.0023354790213296027" pos="0.10417618946551471 0.0942305839276884 0.20233547902132962" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010553958138749077 0.046496160503348045 0.00318450881476257" pos="0.08342163939708308 -0.17162040779577856 0.20318450881476258" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02994211171115068 0.03698513286713781 0.0009663334344197881" pos="0.1894949998824319 0.0788698292299686 0.2009663334344198" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03936723681580669 0.04219793397995205 0.0020494825137143875" pos="0.2704711681888488 0.2185359744066983 0.2020494825137144" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00585647154394022 0.03193407184753879 0.002346391840059239" pos="0.053409501210041954 -0.2804880473618665 0.20234639184005926" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04879881025654519 0.026541315519485607 0.002453531042886374" pos="-0.1466737831771137 -0.02519330002166753 0.20245353104288638" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013385959356190226 0.044336363862435044 0.0019204061159527749" pos="0.161664550563828 0.03081811263108114 0.2019204061159528" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750002323389998 0.68353642182265 0.42649188271499994" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="6970.77592657" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.257686305596187"></joint>
            <site name="object0" pos="-2.323389998171166e-07 0.0014635781773501 -0.0064918827149999525" 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.000770964726585 0.000770964726585 0.000770964726585" file="mujoco_models/Hot_Tub_Drain_Cover.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/banded_0063.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>
    