<?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.030263020375961444 0.03725640338089679 0.00447084310427345" pos="0.18035538113210442 0.16818459902655064 0.20447084310427346" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046570766934690096 0.01653107356074127 0.003460992629019506" pos="0.05618147733139928 -0.11820081337466293 0.2034609926290195" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008948649859982654 0.02990062431285435 0.0025367568141684625" pos="0.2552547638418114 0.00549160795841408 0.20253675681416847" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.028167429507319982 0.033979744738435465 0.0020674825795060615" pos="-0.06227471955050373 -0.008365672321584694 0.20206748257950607" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04240563906255288 0.04968498358040953 0.0003224352885609322" pos="-0.08665280700250508 0.027937507548627838 0.20032243528856095" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011825339544115483 0.04520388093179003 0.003659247405663189" pos="0.03979342929387064 -0.06012448430490344 0.2036592474056632" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024026873355324274 0.02232353236700999 0.0035788463475674645" pos="-0.2845918091621761 -0.07035805040418272 0.20357884634756748" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02966439598416827 0.012773463848768318 0.004292359989929983" pos="0.07995300646080888 -0.0247128811802923 0.20429235998993" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04802202045614304 0.04351611151291616 0.0031104042502926796" pos="0.08369708614573129 -0.2845303167103851 0.2031104042502927" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04872653844846551 0.024340229525775796 0.0035770588101597454" pos="-0.214437996292388 -0.29914357465660313 0.20357705881015975" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3086735211734999 0.6384402030159999 0.41299999909249996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2850.94508411" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.7362142840414236"></joint>
            <site name="object0" pos="0.06632647882650011 0.046559796984000146 0.007000000907500026" 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.00114636838156 0.00114636838156 0.00114636838156" file="mujoco_models/Banana_Scale.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/stratified_0140.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>
    