<?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.049430318064902085 0.006000195726653375 0.00112349610486469" pos="-0.20321428926900226 0.09186499527923908 0.2011234961048647" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.013411288524449325 0.023849227869959008 0.0012976854008078535" pos="-0.20461824981268817 -0.23377491530141692 0.20129768540080786" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0331601498837984 0.007770964616082077 0.0010632535722322621" pos="-0.07876489760342154 0.19259593790876106 0.2010632535722323" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0057579625138600024 0.04205930046744139 0.000570882198680419" pos="0.2858756790080374 -0.018809279011379076 0.20057088219868044" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04886129332132652 0.030637430467507255 0.003722391539051678" pos="-0.2764873246474076 -0.13031582245415424 0.2037223915390517" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006889631499445277 0.015510869678585101 0.0006817658228757959" pos="-0.10921009236361437 -0.05144220329119803 0.2006817658228758" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.004143227321090434 0.03493113384913098 0.002876347125612218" pos="-0.14076630543633276 0.01394883208001979 0.20287634712561223" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005603085027163643 0.029221378282252786 0.004653551368123449" pos="-0.1088586285292058 0.10044622797820901 0.20465355136812347" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007458095257815217 0.036100033001809716 0.0015180898554412853" pos="-0.1900851827957299 0.05190776088604987 0.20151808985544128" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.001985269763187184 0.041618061431650796 0.00012300783334348063" pos="0.10668992207773809 -0.13799521608470108 0.2001230078333435" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.327110191321 0.7631556117495 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1589.78734172" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.51526383821822"></joint>
            <site name="object0" pos="0.04788980867900006 -0.07815561174949992 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.00250090387275 0.00250090387275 0.00250090387275" file="mujoco_models/hubble_model_kit_6.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/striped_0057.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>
    