<?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.009800757842419308 0.049633671480254 0.002218602663390089" pos="0.0426511129806908 -0.2855301767811355 0.2022186026633901" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.022470491588078807 0.013686772099198576 0.0006389009360256178" pos="-0.07993635042484218 -0.11067981890143525 0.20063890093602563" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017363315608039758 0.02618692283645614 0.0020528585269379935" pos="-0.05267216896689056 -0.1592416461394005 0.202052858526938" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008022652949338037 0.015039014780285003 0.0022418102821862695" pos="0.09820962293427193 0.08345592415089131 0.20224181028218627" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013674437284271614 0.01895256083272375 0.0014255438880102895" pos="0.0679712876763911 0.19762004474243694 0.2014255438880103" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04746103574277207 0.04098982150519345 0.0034190251150290098" pos="-0.2056669864064808 0.09991056761788097 0.20341902511502902" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04892417345961624 0.03896013479104858 0.003925239027934256" pos="0.025285264981030564 0.26809000899576146 0.20392523902793427" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04982986311096498 0.04840132328684808 0.004222228055495099" pos="0.08078923409053829 -0.15900765967594746 0.20422222805549511" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010664917495819652 0.04219195088265041 0.0016456553113111054" pos="0.11830452835687244 -0.2658140258507723 0.20164565531131112" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046218305640270935 0.04734086902437685 0.004201232697520764" pos="0.04142400476267327 0.11613520818321116 0.20420123269752077" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025622826672932256 0.03336340223688228 0.0021197552797629538" pos="0.2748420088171661 -0.09960900487113936 0.20211975527976297" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.375 0.6749999999999999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="779.01445512" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.107772923211516"></joint>
            <site name="object0" pos="0.0 0.01000000000000012 0.007000000000000062" 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.00556332880465 0.00556332880465 0.00556332880465" file="mujoco_models/strainer.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/matted_0005.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>
    