<?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.007004866665482554 0.04135540520407307 0.004755947441295383" pos="0.23694310404347035 -0.23895797376508146 0.20475594744129538" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042591069267649474 0.017041069096082124 0.0037093709738033865" pos="0.10488085686071374 -0.220172548709834 0.2037093709738034" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009667850141153397 0.004193848987845165 0.0037383825533556323" pos="-0.15292141162685868 -0.11128272514786355 0.20373838255335563" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.039913527162718426 0.017230260411635303 0.0033220163556896094" pos="-0.11521473556496586 0.16232423113265326 0.2033220163556896" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042239742059148815 0.02013110598084013 0.004772084999992425" pos="0.07088729139194366 -0.01006725628240246 0.20477208499999244" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007282207182949019 0.020465219625283214 0.00245220938228637" pos="0.012920366692067031 0.037809067506508864 0.2024522093822864" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02782608103857887 0.029899260158017475 0.0031447664566415035" pos="0.27256998533784976 -0.2918957985594798 0.2031447664566415" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04055837599573561 0.021290468008280695 0.0007962363258774837" pos="0.29637703877923044 0.2242194692555763 0.2007962363258775" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026201826815134995 0.036261688082362714 0.0018331600379501696" pos="0.24489787135060087 0.24992900200714024 0.20183316003795018" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03655644430468663 0.04345388567805274 0.004056976931239867" pos="0.0015348296273103301 0.13933183270720984 0.20405697693123986" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017202419437871014 0.005729284642553024 0.001250477806759117" pos="0.2662409436964657 -0.0443163670781026 0.20125047780675911" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.376662802516 0.6713370641473999 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="664.792077484" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.6071486770386283"></joint>
            <site name="object0" pos="-0.0016628025159999282 0.013662935852600144 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.000572420593755 0.000572420593755 0.000572420593755" file="mujoco_models/Low_Poly_Bowl.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/wrinkled_0105.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>
    