<?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.010703111386135535 0.017238920044640223 0.0013804822243373446" pos="0.015411547054908548 0.04811781537442861 0.20138048222433735" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0315898243914907 0.0013099235472716739 0.0011549438589949018" pos="-0.05207280246786977 -0.17847146034844624 0.2011549438589949" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023761378390899927 0.04383280628004585 0.003853659507310408" pos="-0.08542987758197712 -0.034537051416636766 0.2038536595073104" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024490586159046836 0.04071229572027793 0.003721580167007027" pos="-0.2316192515742942 -0.2799573420158666 0.20372158016700703" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026083466277627115 0.0026336597278980647 0.0036735176741381913" pos="0.013175663983092833 -0.018000359281921507 0.20367351767413822" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01696657390713726 0.0320075016126186 0.004347672286080957" pos="0.2014593667805376 -0.2183055809854107 0.20434767228608097" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030532572459710458 0.02021814409578692 0.001989410248277278" pos="-0.17555538803070464 0.17622975078702746 0.2019894102482773" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03377956644547467 0.04399391153552153 0.0010802549246335987" pos="-0.1436771333528531 0.09759284777284277 0.2010802549246336" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011009485385200201 0.002850580523584866 0.0006971259273694264" pos="-0.28575865882478607 -0.02449525718728862 0.20069712592736944" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0031427447108212324 0.02273190538400329 0.004053128354970642" pos="0.29983067506873123 -0.003167879082101921 0.20405312835497066" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.353660214753 0.6331983115744999 0.39627820107999995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3142.45876308" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.0158182077794904"></joint>
            <site name="object0" pos="0.021339785247000087 0.05180168842550015 0.023721798920000037" 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.0003289388163045 0.0003289388163045 0.0003289388163045" file="mujoco_models/toy_boat_xyz_with_guns.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/cracked_0080.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>
    