<?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.020648677581297802 0.005662957238322479 0.0031872964454035964" pos="-0.2841641133602942 0.13008131617704954 0.20318729644540362" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.001594874590267338 0.030236839915629785 0.004367370699485615" pos="0.11904505635716611 0.07460625284341144 0.20436737069948563" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02215776513907982 0.01747358032843112 0.0019144480526264785" pos="-0.07498414801095304 0.017930177657761504 0.20191444805262648" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008023173972284005 0.044212214821561714 0.0031667901670975117" pos="-0.07533826330254151 0.28932729846871524 0.20316679016709752" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04375384929463875 0.030733993287230747 0.00192156921042234" pos="-0.07854368640069465 -0.259975964189357 0.20192156921042234" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.017783527568567145 0.013038527193227446 0.003081900499100536" pos="0.1320980913369021 -0.12454511365697407 0.20308190049910055" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02776122747152228 0.03956690251502172 0.0032453286703285583" pos="0.14619678750431236 -0.16915218736640936 0.20324532867032857" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03211744475798353 0.01441543134147127 0.0012306778825839021" pos="-0.13743763250779037 -0.08008469308520008 0.20123067788258392" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024076080410359788 0.01223381068589209 0.0018148211269296988" pos="0.23789802906817697 -0.21922385548724055 0.20181482112692972" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011570478939577408 0.0039739419541928375 0.0035735175357811664" pos="0.017646428262693137 -0.01540779558209704 0.20357351753578118" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00268634361150359 0.04810579061018293 0.004235979086882494" pos="0.1922244648705972 0.22513048532248586 0.2042359790868825" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03907423288549322 0.007832440801218636 0.004860312911795564" pos="0.2602310837640956 0.11764626682738377 0.20486031291179557" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3124274947869998 0.6685505168278 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2720.18324627" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.7142089378947238"></joint>
            <site name="object0" pos="0.06257250521300017 0.016449483172200074 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.00373991446892 0.00373991446892 0.00373991446892" file="mujoco_models/hubble_model_kit_2.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/lined_0154.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>
    