<?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.00632632758430879 0.010817049468884465 0.002687668053387553" pos="-0.256323584777651 -0.26061114536379953 0.20268766805338756" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.020345652694219032 0.02506320619266653 0.0008494571038771233" pos="0.17973198632670717 0.08387733505065798 0.20084945710387714" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.042127717505108034 0.01987762511228534 0.004147038969130853" pos="-0.280984255989061 -0.2843730735094787 0.20414703896913086" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005140873246055471 0.023779364357397463 0.0028068067761502307" pos="0.24485442165545684 0.20469458230666476 0.20280680677615023" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023038282131125194 0.029352380197692374 0.001849650816505464" pos="0.019384620505507322 -0.2524292856369217 0.20184965081650547" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026350365449599785 0.015298338148310504 0.0012872493471798954" pos="-0.10031004703573684 -0.07998632067654879 0.2012872493471799" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03216126954552912 0.04160263013461259 0.0010078492405585764" pos="-0.16981111777991417 0.0606702704101193 0.2010078492405586" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03650083998425737 0.023075650928811274 0.0035147654591060227" pos="-0.029546006638786648 0.2360091923275099 0.20351476545910605" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03687762365607138 0.024279207556221535 0.0019123233602364917" pos="-0.05962140657493209 0.1794122761587273 0.2019123233602365" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015958507437117873 0.008041005673392103 0.0002830550663780674" pos="-0.1665085565856973 0.21382539695863773 0.20028305506637809" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3587484571389998 0.643165474804 0.40026533427" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="7982.5494702" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.0994493285849585"></joint>
            <site name="object0" pos="0.016251542861000168 0.04183452519600006 0.01973466572999999" 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.0002505068917065 0.0002505068917065 0.0002505068917065" file="mujoco_models/toy_boat_xyz_with_guns.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/crystalline_0215.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>
    