<?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.003004604102474194 0.003367389885900608 0.0020194297435447866" pos="-0.2561603683998787 0.19226347390592696 0.2020194297435448" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.045350345300022764 0.015746373663805567 0.0016914527841053548" pos="-0.06489059979599379 -0.03315408507242906 0.20169145278410536" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04811550317277018 0.013584218169918772 0.000757105629043565" pos="-0.2865657179354144 -0.27509662818081093 0.2007571056290436" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04211996438366881 0.01630505325726535 0.002474351723962919" pos="-0.0023669982758047214 -0.053396889388095004 0.20247435172396294" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008386937848811095 0.03443656285651893 0.002585720190276403" pos="-0.1956792391973421 0.1506694062079884 0.2025857201902764" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.039924867986342524 0.012012594429725198 0.0005424187043133031" pos="0.19013120663958843 0.008450734335433807 0.2005424187043133" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013933523934469338 0.010640423360200914 0.0003636891383061337" pos="-0.1101449057749849 -0.1466452854434905 0.20036368913830616" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.4070568291965 0.618092612095 0.4182217875755" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1245.01083448" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.879108477400622"></joint>
            <site name="object0" pos="-0.03205682919649999 0.06690738790500006 0.001778212424499992" 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.000452155117966 0.000452155117966 0.000452155117966" file="mujoco_models/Recycle_Bin_For_Cans.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/knitted_0197.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>
    