<?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.01732390645023412 0.020127833614762655 0.003468965732550457" pos="0.2102905244263153 -0.16542822732945295 0.20346896573255047" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015098411950699622 0.0021439514081959105 0.0031020457185134253" pos="-0.025045485531901557 0.16539958188034648 0.20310204571851342" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03832420385388661 0.036257427470928756 0.0044293393918583895" pos="0.009792790247274308 0.2166768135936688 0.2044293393918584" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04594840062857626 0.02598143000329951 0.002979023384929614" pos="-0.1233321876773586 1.5934499865200014e-05 0.20297902338492962" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0025509030024513987 0.04343163582739278 0.004542784507417238" pos="0.2901368399733694 0.2254457627632645 0.20454278450741725" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0480271434020945 0.0062298556455650045 0.0018834170512281728" pos="-0.16532195239701955 0.026199823197545158 0.2018834170512282" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.045474899294839694 0.039245681213770915 0.002761616137171571" pos="-0.2205642368919922 -0.2688124706184704 0.20276161613717159" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03987234787362273 0.02670047442023414 0.0008213971142691122" pos="0.10476401846372124 -0.024941910952222368 0.20082139711426913" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03399095879141519 0.03828535546235537 0.0007496656650734608" pos="0.006619301781731812 0.2787429841221099 0.20074966566507346" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00546813146296114 0.03560014595148735 0.004481517611435486" pos="0.13445583406341327 0.14310226101062473 0.2044815176114355" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02279391564416449 0.025432070462593662 0.004017809000801755" pos="0.028359447016104933 -0.16919884703403185 0.20401780900080177" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3723022140974999 0.6757221895611 0.41281533169699997" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="4843.28854667" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.2267443810510428"></joint>
            <site name="object0" pos="0.0026977859025001383 0.00927781043890008 0.007184668303000019" 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.0003249993739305 0.0003249993739305 0.0003249993739305" file="mujoco_models/LotusBowl01.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/marbled_0104.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>
    