<?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.02775016742248689 0.0063811166988112485 0.003670345732571325" pos="-0.01905053301291665 -0.05025393518932081 0.20367034573257134" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004404928598186953 0.017251212084860006 0.004834958831468038" pos="0.24480557124520536 -0.24149830136820027 0.20483495883146804" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04931922710974615 0.031741153537523006 0.003468509485089613" pos="0.2937680842076082 -0.1726377268793472 0.20346850948508963" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017113494664557364 0.0038088314987245585 0.0032884231194458408" pos="-0.05046485581460611 0.15698685202093887 0.20328842311944584" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.037824023448157953 0.025793936074816875 0.0015296352712310883" pos="0.13875591715014157 -0.23613552197669913 0.2015296352712311" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04013176665360793 0.007267537494513888 0.0011639400439100464" pos="0.24475263702162303 -0.062451579077492075 0.20116394004391006" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01854891363964303 0.035346727807756446 0.00012524436301804186" pos="-0.0007506917647947531 -0.07487178482212131 0.20012524436301804" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02668438493678327 0.0020149214019088684 0.0036397978883440933" pos="-0.018751206457558678 0.09698761644654075 0.2036397978883441" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04478729245430806 0.015664557506004394 0.0001394815368397117" pos="0.2381465005295496 -0.11238136294699047 0.20013948153683972" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03990276386441948 0.036129241971246735 0.003370926871777129" pos="0.09885023716397678 0.03839756082163226 0.20337092687177713" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3977202851435 0.634666875596 0.41670094315749995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="13865.4939266" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.9975883356150232"></joint>
            <site name="object0" pos="-0.022720285143499996 0.05033312440400006 0.0032990568425000366" 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.0003204650449465 0.0003204650449465 0.0003204650449465" file="mujoco_models/Recycle_Bin_For_Cans.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/swirly_0073.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>
    