<?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.012067723818436182 0.04748478926834059 0.0008819673933993381" pos="-0.07811387787412294 -0.063730685128711 0.20088196739339934" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.003426402419188743 0.008220802032211693 0.004798416476039323" pos="0.2890494769848024 0.2912852119088896 0.20479841647603933" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013967189026413217 0.012084239924493069 0.0023221162381798044" pos="0.1359389702851974 -0.1990531199224707 0.2023221162381798" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04469274024024594 0.019414400265401564 0.003829677634417658" pos="-0.2776735621022413 0.27898397577459316 0.20382967763441767" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028109764781929805 0.04355221331432329 0.0031926379597806403" pos="0.23232575630995417 0.08551414479577646 0.20319263795978065" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03438704306690789 0.0226814309805751 0.0017129395395110176" pos="0.16641020141353657 -0.1836927294995358 0.20171293953951103" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04714447684638939 0.048079767127533486 0.004754583514334683" pos="-0.10700541975630595 -0.24940017975887707 0.2047545835143347" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006247281437880155 0.03521759394020961 0.0016608716004315029" pos="-0.29473012466239945 -0.14839026028924646 0.2016608716004315" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04400458776757064 0.02162324072770901 0.0008465465811115306" pos="0.1245234700984677 0.22657673679541052 0.20084654658111153" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04521815801701655 0.016016727571259017 0.001999282552803152" pos="0.008191042889809652 -0.21047027953740993 0.20199928255280317" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.001746201979701129 0.007341504284849605 0.0044256905481788265" pos="-0.17359205846301964 -0.29505574128109585 0.20442569054817883" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3698453691864998 0.6763798799087 0.41264715623899995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="852.819050486" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.88859456284161"></joint>
            <site name="object0" pos="0.005154630813500205 0.008620120091300087 0.0073528437610000386" 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.000620972845055 0.000620972845055 0.000620972845055" file="mujoco_models/LotusBowl01.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/knitted_0109.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>
    