<?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.010497496707044255 0.030120132101450647 0.0006211616824303058" pos="-0.025903673759849866 -0.2862415808107837 0.20062116168243033" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.041753434867976856 0.017556849425569603 0.000987476642821373" pos="0.2441101802897659 0.04029858743552389 0.20098747664282138" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04008411580717299 0.03451800611713246 0.003864958645509411" pos="-0.20934126798981034 0.2392132997143746 0.2038649586455094" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0210153572391611 0.025546966762070255 0.0016135036757510119" pos="0.22892483649240464 -0.05327222116172281 0.201613503675751" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02168680509537817 0.04674677075528012 0.002638812103473018" pos="-0.006307948043839662 -0.1555259084817226 0.20263881210347304" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005856727763614072 0.002402720821435778 0.004822135564666144" pos="-0.1637534761599281 -0.009854840951809885 0.20482213556466616" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.009192281099584941 0.022144910959736346 0.0009737061535282736" pos="-0.10145813277255974 -0.05506040233805434 0.20097370615352828" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04170378302159551 0.031064058617912546 0.001570629093586053" pos="-0.06988283366340875 0.24360550708758272 0.20157062909358606" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04561590027984088 0.03649124573767584 0.003998140898360401" pos="0.20257722233731995 -0.05424714722385077 0.2039981408983604" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04499167384655235 0.025348840445444693 0.000989764778995021" pos="-0.2794130939996791 -0.18469507348064296 0.20098976477899502" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03252785830446365 0.026465321637805402 0.0032909473126150795" pos="0.11582934408855955 0.2920090777812508 0.2032909473126151" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03224713423562325 0.042539444684819655 0.004753281118825415" pos="0.23073866521282999 -0.0732880046145015 0.20475328111882543" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="0.7146926043119999 0.6237810307255 -0.32079285695500004" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="6630.24854256" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.4025688332831296"></joint>
            <site name="object0" pos="0.6603073956880001 0.0612189692745001 0.740792856955" 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.00095807710498 0.00095807710498 0.00095807710498" file="mujoco_models/banana_print.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/crosshatched_0078.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>
    