<?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.009537734918226546 0.007104028584659387 0.0021179468230141307" pos="0.29359495841436417 -0.2662532350828979 0.20211794682301415" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02160687521755525 0.04879527938938551 0.00011008635124958907" pos="0.282153766388671 0.25362243103496257 0.2001100863512496" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03538213359653266 0.03402384117374808 0.004422645065377608" pos="0.07505153149938681 0.1528097169714997 0.2044226450653776" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0010511564413635565 0.04497712037724938 0.004660035249624904" pos="-0.08992120988032762 -0.0940032663372771 0.20466003524962492" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029673992428126305 0.02494815126494951 0.0024452171017753854" pos="-0.29926914927754567 -0.08947661070409499 0.2024452171017754" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00524728409153516 0.03611111303029675 0.0031441814346069765" pos="-0.013752053939597442 -0.16093747351712415 0.203144181434607" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.038523016557067045 0.024150650363722475 0.004038045766457209" pos="0.014082300042472684 0.0016728621212072636 0.20403804576645723" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012930811502061785 0.04347064582370885 0.0006480502284752787" pos="-0.09687142859344491 0.05811190730005289 0.2006480502284753" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04002817098727775 0.026262955243670543 0.0005341032017725646" pos="0.09569075379729941 -0.22805110212399346 0.20053410320177256" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020471003181020887 0.04508945876588269 0.0010477668499098832" pos="0.020050670024737816 -0.12130777076257729 0.20104776684990988" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.4298289405265 0.6404599442654999 0.440196894279" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1230.84665027" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.3093754270110773"></joint>
            <site name="object0" pos="-0.05482894052649989 0.04454005573450015 -0.02019689427900001" 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.00054393788558 0.00054393788558 0.00054393788558" file="mujoco_models/Body1.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/gauzy_0155.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>
    