<?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.019520904836642216 0.03863701892756252 0.0008077126865940512" pos="0.2350062277954234 0.2334081455995573 0.20080771268659406" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.045034052336314155 0.041266197944305485 0.001411114680118896" pos="0.0891898032301045 -0.015873656992572704 0.2014111146801189" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046280936051684554 0.02537406593473122 0.004169124557823247" pos="0.29607187860206424 0.1881975182663415 0.20416912455782327" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026723743569557486 0.033743414250039815 0.003119070367836744" pos="0.08721979618239883 -0.13363436509094256 0.20311907036783675" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03761738464526717 0.007765368358451907 0.004486249944027213" pos="0.01445569407428876 0.22957641277491986 0.20448624994402723" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.027926052546285083 0.04380981412441285 0.0033702444154807294" pos="0.24007445579192205 0.1392323922416882 0.20337024441548074" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01641221101425961 0.005424526160005916 0.003971222426676647" pos="-0.2523545185271983 -0.029553407842217272 0.20397122242667665" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00885145660089472 0.012431624286842937 0.0005919627783792709" pos="0.2866112918954354 -0.06851122439737573 0.2005919627783793" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019253893483948934 0.0443795952298086 0.002641185729304351" pos="0.17710814634277255 0.235634425178104 0.20264118572930437" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02885999260542482 0.049469345962463995 0.0005283207035829269" pos="-0.015307746458794291 0.06253321005225487 0.20052832070358295" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025042495325818426 0.041342836446413636 0.0017819473718678252" pos="0.1672064669979923 0.02740358084825728 0.20178194737186783" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013484352733021142 0.019915672083611165 0.0010426131406895281" pos="-0.0392345801139366 0.26827926265811625 0.20104261314068955" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013852453968799111 0.030130510035165363 0.003288968028879972" pos="0.03286420475074098 -0.056530145319072134 0.20328896802888" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3654774113955 0.67422789822125 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="12154.5244265" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="2.8081670576237454"></joint>
            <site name="object0" pos="0.00952258860450006 0.010772101778750098 0.007000000000000062" 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.000514734519175 0.000514734519175 0.000514734519175" file="mujoco_models/boozefighterbottle_actual_bottle.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/stained_0058.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>
    