<?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.026611778625565685 0.02376507606952434 0.0010608888672158077" pos="-0.2069670594332768 0.2597976128716076 0.20106088886721582" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023547736172799073 0.033139698000917595 0.0027472640863444946" pos="-0.0737266149948094 0.0038689563513022995 0.2027472640863445" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.033096683726110604 0.047834878391596905 0.0027468574117236427" pos="0.13232380732818327 -0.20774677410064746 0.20274685741172366" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.049787663813708194 0.030144669487366778 0.00011996861092575402" pos="0.23961027965281917 -0.09265639752527985 0.20011996861092576" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017784579423408452 0.02606503285269137 0.004201712892672574" pos="0.008361595312857406 -0.07664474638209298 0.20420171289267258" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.044516572567768226 0.008566602524838804 0.0014460393763904807" pos="0.20081678131291342 -0.2797875656100562 0.2014460393763905" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010162546089442458 0.03690543741929983 0.001995068058765045" pos="-0.054949606517130795 -0.01640911763586156 0.20199506805876505" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004091055404264202 0.0437809464006555 0.00028370224260073897" pos="-0.021566563811003803 0.1468528259020293 0.20028370224260075" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3092140312775 0.6387381374159999 0.41299999909999996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="897.36272072" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.9483419610656356"></joint>
            <site name="object0" pos="0.06578596872249998 0.04626186258400011 0.007000000900000025" 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.00113702635551 0.00113702635551 0.00113702635551" file="mujoco_models/Banana_Scale.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/studded_0100.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>
    