<?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.03966126443742129 0.0445926826008796 0.0007278320401911285" pos="0.00577012543615385 -0.01188856310999209 0.20072783204019115" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.012014246273304545 0.009871618226070054 0.002552161506598207" pos="-0.18283874818872214 0.016153414237995156 0.20255216150659822" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006112108207165673 0.001271057780409241 0.002464223549755953" pos="-0.2940889244843467 0.19389149619186669 0.20246422354975596" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03654554709725993 0.011262483501557993 0.001455645018759873" pos="-0.23867714666020545 0.172915601882573 0.20145564501875987" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013171403736607044 0.02192505735826487 0.0030447328510631137" pos="0.18346645138490708 -0.006417478588854109 0.20304473285106311" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03673675985291809 0.04579841637478789 0.002384619117095024" pos="0.2996613189431753 -0.17211727017019454 0.20238461911709504" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01714667941032709 0.04263990570982784 0.0022018503093267526" pos="-0.15345893058832008 -0.15710173709054723 0.20220185030932677" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02580773579046914 0.03311556871829224 0.0003361922351728825" pos="0.2936566819734661 -0.2382574600858195 0.2003361922351729" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015328337145690936 0.04560926007670016 0.0009305744125966128" pos="-0.28651121510552 0.21450597791905174 0.20093057441259662" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02688330004810083 0.04866396170510862 0.0015000369362607982" pos="0.025922378949672087 -0.2794883117012471 0.2015000369362608" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3765125470855 0.6716680571539999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3657.38628319" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.5401986724405676"></joint>
            <site name="object0" pos="-0.0015125470854999712 0.013331942846000144 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.00052069508695 0.00052069508695 0.00052069508695" file="mujoco_models/Low_Poly_Bowl.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/woven_0015.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>
    