<?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.025874138016169952 0.009031585105378503 0.0018928715122489767" pos="0.14600413538919876 -0.04529671238589006 0.201892871512249" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04054061309099535 0.03622196984083955 0.00471991328643398" pos="0.020493612351526358 0.18128877239267716 0.204719913286434" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016822448210515543 0.017941546409403368 0.0020625012715493763" pos="-0.05345055942114657 -0.23804806760041528 0.2020625012715494" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026435848027261316 0.005743357744182253 0.004459834465516844" pos="-0.2628931300660241 -0.030183341814414733 0.20445983446551685" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014950009253131096 0.008588601367069477 0.00394079978512684" pos="0.1289594393517154 -0.21243126589109212 0.20394079978512686" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0320055164142092 0.03983520319919186 0.0038893278798124457" pos="-0.24463224140198303 0.11130763142746575 0.20388932787981245" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.036085172123295275 0.04324614708505934 0.0025894172604384344" pos="-0.023343599817985616 0.2790697949516819 0.20258941726043844" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.361157589801 0.6738776424163 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="4528.5498812" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.9628731767458327"></joint>
            <site name="object0" pos="0.01384241019900001 0.01112235758370006 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.000748238389145 0.000748238389145 0.000748238389145" file="mujoco_models/boozefighterbottle_actual_bottle.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bubbly_0136.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>
    