<?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.01761163543683705 0.03713395665044122 0.0032318039975434833" pos="-0.25692649809502854 -0.15544233479721156 0.20323180399754348" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03673157727466578 0.0028485558543441232 0.0002773068404781266" pos="-0.10651619515085031 0.0393923757789455 0.20027730684047815" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03583116957070737 0.019026343834613255 0.001641527215191242" pos="-0.030830096269814367 -0.22304734868390613 0.20164152721519124" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009454093537976417 0.005674347369733671 0.004173309020045158" pos="0.0038502810192099224 -0.13663610720592145 0.20417330902004516" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020855820122444153 0.004877184534008067 0.004097991910361645" pos="0.12787716859783677 -0.2146811691476943 0.20409799191036165" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.031814068540021605 0.00474992494503476 0.0022157844560554284" pos="0.25344978177319905 -0.15318073923550626 0.20221578445605545" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010987277320065693 0.006497184753433241 0.0030661963135538684" pos="-0.17242925526459138 -0.08690116047642424 0.20306619631355388" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017625361419559123 0.006886880292340955 0.003511021457961969" pos="-0.005480165064801479 0.26857895179576613 0.203511021457962" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029016642844868684 0.003944635326301219 0.0037215474833839353" pos="0.12208868773219794 -0.16574945923849768 0.20372154748338395" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3750002993065 0.6859968951455 0.43038068040899996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3215.61648283" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.6018840726519168"></joint>
            <site name="object0" pos="-2.9930650002896186e-07 -0.000996895145499943 -0.010380680408999976" 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.00099318173765 0.00099318173765 0.00099318173765" file="mujoco_models/Hot_Tub_Drain_Cover.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/braided_0019.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>
    