<?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.038751544899900014 0.03982483594800184 0.004449116395846546" pos="-0.052903745736164215 -0.13193040464726674 0.20444911639584656" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.048034202973975725 0.03275315539308854 0.0008523426388146023" pos="0.2928725818864298 0.1030872154966791 0.2008523426388146" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03949999897027973 0.01327706631447878 0.0025455654051999748" pos="-0.21497712324924875 -0.07512590286225976 0.2025455654052" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02783522201104029 0.02172933235181852 0.00043534959309658126" pos="0.13409043766665596 0.16664026039085816 0.20043534959309658" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02088889735837343 0.012719575764952949 0.003434755944835436" pos="0.04234926222716573 0.09303468906523604 0.20343475594483545" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01937652010191418 0.03157563514094933 0.002086723005084588" pos="0.023535191781706377 -0.13312333072191054 0.2020867230050846" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02078081588441564 0.01475672783994467 0.003266951312713661" pos="-0.2026150617197357 0.04953121614170336 0.20326695131271366" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029499282409860668 0.04109122005468989 0.003775334310270956" pos="-0.2843557194696565 0.06155977472247731 0.20377533431027098" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0049247605226119835 0.004613525093163828 0.00421309536010772" pos="-0.14338093967898527 0.14317743876455957 0.20421309536010773" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04927182108020635 0.04943164535595742 0.003528330894146773" pos="0.03844406778755605 0.18642823043371826 0.2035283308941468" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.010025031231946282 0.04951641762970775 0.0010900888114517815" pos="0.1190725503306097 -0.25676918956609296 0.2010900888114518" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.008338214149412295 0.010979196989741643 0.0022169746885336277" pos="-0.17352861904868877 0.14841358581913033 0.20221697468853364" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016031717032719564 0.018635598964223225 0.0033180544236384776" pos="-0.2812896091331115 0.26704085586243514 0.20331805442363848" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019421812664567283 0.01231069885878001 0.003955156445012615" pos="-0.08731971925574938 -0.08657599788899564 0.20395515644501264" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="2.05201409185 0.32957594509099997 0.4129999999999999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="921.135590303" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.3843869639950892"></joint>
            <site name="object0" pos="-0.6770140918499998 0.3554240549090001 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.00355049579242 0.00355049579242 0.00355049579242" file="mujoco_models/A_Ribbon.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/honeycombed_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>
    