<?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.00939262244782995 0.038916095838574735 0.003913262562015043" pos="-0.12980800436709264 0.2051382589606317 0.20391326256201506" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03332634528337858 0.0036265186487477443 0.0006878846004220923" pos="0.04493432494603583 -0.27979856212447557 0.2006878846004221" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02679912767058546 0.00901571257151983 0.0004115824851081884" pos="-0.1625440109867686 0.17692139342690089 0.2004115824851082" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024819339009090325 0.005046069616814674 0.0030502493679831874" pos="0.037467276182848896 -0.11243776993010371 0.2030502493679832" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04265777806357275 0.004470840464072593 0.0003238581948333592" pos="0.1971736956595253 0.28499661191566555 0.20032385819483337" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0322306554639057 0.012246051485026114 0.0040889289217695335" pos="-0.024756972910021324 0.06203788754598283 0.20408892892176955" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03850593565996234 0.041658958756383056 0.0026573819939190663" pos="-0.1578365952932911 0.13754802016290346 0.20265738199391908" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.026663156838816864 0.033310886885947 0.0029500703277855075" pos="-0.1320011803291642 0.2618347342801957 0.20295007032778553" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02179554423347459 0.021013755296326427 0.004496076792060212" pos="-0.21817705513348484 -0.048511353619561215 0.20449607679206022" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.011747742971257323 0.030865387535052788 0.0041367087408237775" pos="0.21569957994797911 -0.08530213579368684 0.2041367087408238" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3509493101255 0.6533543791127999 0.376923965188" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="3272.57753916" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.238193192041919"></joint>
            <site name="object0" pos="0.024050689874500097 0.03164562088720013 0.04307603481200001" 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.002405068987465 0.002405068987465 0.002405068987465" file="mujoco_models/Simple_Filament_Guide.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/bubbly_0045.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>
    