<?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.03173132007281869 0.03670010694475683 0.0038747317500584318" pos="-0.29143696695578636 0.23675780059365886 0.20387473175005844" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025762387837919332 0.006733340328887022 0.0007152791093543338" pos="0.2542319420064156 -0.2642125282512887 0.20071527910935436" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01957873851737165 0.02003755626965695 0.002362226004395258" pos="0.2637662462178649 0.1801306042842013 0.20236222600439527" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03940225715862261 0.03833707026273731 0.002917372712549699" pos="-0.20895374037402933 0.1776407247859339 0.2029173727125497" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024843653159376214 0.021888176423210347 0.0008448056140593116" pos="-0.22367239917766196 0.18279279706858315 0.20084480561405932" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016223114669845398 0.03268185206155925 0.003380995556195212" pos="-0.21390423775439102 0.11603541340344964 0.2033809955561952" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033842588098735686 0.0060419328816825576 0.003202069880562369" pos="-0.11911202745389057 0.19456283041610245 0.20320206988056239" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002623038937364766 0.03698044399401531 0.004265078790624571" pos="0.19450795933696324 -0.15541625773003623 0.20426507879062458" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013197146042189762 0.015572297281025077 0.001532976741927861" pos="-0.0025246119267063882 -0.27393193358215173 0.20153297674192788" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03858638596709353 0.02271689446836045 0.004101131940761689" pos="-0.05733282700596126 -0.17132032972109534 0.2041011319407617" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.332712889243 0.65169093532975 0.41299999942149995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="11503.8646884" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.3477044758855383"></joint>
            <site name="object0" pos="0.04228711075699998 0.03330906467025008 0.007000000578500032" 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.000730878641185 0.000730878641185 0.000730878641185" file="mujoco_models/Banana_Scale.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/striped_0021.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>
    