<?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.011130440422014345 0.01521850239775105 0.0029133975118194743" pos="0.008525977076168922 -0.2865297794755341 0.2029133975118195" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03371430182503427 0.04797354944121335 0.002959355089452613" pos="-0.14617814369408091 -0.03044158710794803 0.20295935508945262" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016785600125346696 0.015306850681312795 0.0037154879975684137" pos="0.1497864867737625 -0.1960006311644373 0.20371548799756842" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03520883836274836 0.039524632960364216 0.0014619607949111146" pos="0.29079524024108133 0.11830183481214812 0.20146196079491113" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029668316905621592 0.042302739405103644 0.0036608074144204345" pos="0.05708166749040061 0.10225110084725703 0.20366080741442044" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030126236623203222 0.04328163632755977 0.000540520491598148" pos="-0.24815598355802276 -0.12518731614714576 0.20054052049159815" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024810917252538384 0.04347984129265816 0.0031645441023669604" pos="-0.008511342033801439 -0.21903423017954757 0.20316454410236698" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02768293624482272 0.008026680785649526 0.0019298045785990105" pos="-0.050239491562980854 -0.1919889898737694 0.20192980457859902" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046385056003463515 0.018458545917098734 0.002064256382600845" pos="0.1460774926869382 0.03557579227569596 0.20206425638260087" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014021019455003763 0.023892664731112036 0.0013839709466454257" pos="-0.05737697795124602 -0.25516234159098716 0.20138397094664542" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046010241856331166 0.04651361561060284 0.0011119680693633695" pos="0.2646205394965632 0.006593529696400757 0.20111196806936338" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.46223744643599995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2399.96390676" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.9406991095228436"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 -0.04223744643599997" 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.057766065658 0.057766065658 0.057766065658" file="mujoco_models/Low_poly_bowl_or_cup.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cobwebbed_0117.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>
    