<?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.008529660595858017 0.022780192444558988 0.0025259720031642293" pos="0.2938593041085747 -0.27456726951687593 0.20252597200316425" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.015756604745966553 0.04274279840932781 0.0033325079408176093" pos="0.1960098191075375 0.0961745511358667 0.20333250794081761" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03821727914816051 0.025153165749855808 0.0011039006951982277" pos="0.1860023165023199 0.040692392798381494 0.20110390069519823" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007835754495554655 0.04043980731667244 0.004797070960776633" pos="-0.0923016764229205 -0.12389264874813391 0.20479707096077665" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005006983732170738 0.03356007009602137 0.004798911930632834" pos="-0.21840438600503542 -0.008904221208410723 0.20479891193063285" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005813671048009145 0.002671385281780975 0.003356055148271462" pos="0.2206123052060987 -0.09745767832438215 0.2033560551482715" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04391249354609487 0.006735601858400563 0.0012660073413956335" pos="0.2409640361440311 0.00510593621440214 0.20126600734139566" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030801426806054185 0.002862893394582888 0.0007291105597246558" pos="-0.2665255124994881 0.24300044396980153 0.20072911055972467" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007604953229676405 0.04263396850382897 0.0018200700269250204" pos="0.180358497819468 -0.08097387152595156 0.20182007002692504" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.5354989322325 0.6713691431471499 0.413000015736" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="531.032357537" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.676821395057325"></joint>
            <site name="object0" pos="-0.1604989322324999 0.013630856852850148 0.006999984264000003" 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.00085745318983 0.00085745318983 0.00085745318983" file="mujoco_models/Rabbit_Complete.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/blotchy_0093.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>
    