<?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.04810210555049095 0.017176980523958545 0.00023465710608143128" pos="0.16811677981502154 -0.02495204798409545 0.20023465710608143" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03731017243825774 0.011336620758982192 0.0017574393298836685" pos="-0.2325349578846536 -0.027688533308082686 0.2017574393298837" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0027894422662099643 0.03280761617128187 0.0029492786348174383" pos="0.04508035508720515 -0.024065022976547668 0.20294927863481746" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.036893934288604636 0.01928020970378067 0.0035499009605764794" pos="-0.2350100157951409 -0.24224496106079832 0.20354990096057649" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.019617644711732826 0.018274902073368928 0.004974118300785887" pos="0.22325817843473267 -0.1775267765884599 0.2049741183007859" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04703450286045376 0.03399002538030915 0.0030352900480115535" pos="0.137199723520526 -0.2931619002881363 0.20303529004801157" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03483703977374218 0.041472933686361436 0.0002064270593363927" pos="0.01898071765235887 0.21770800426081266 0.20020642705933642" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.046615560234168324 0.00976572936117684 0.0010841367935509538" pos="-0.15505841305601795 0.17975135142844695 0.20108413679355097" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.036491966648621005 0.024660073011494785 0.003181701976523808" pos="-0.276056877648915 0.21299135254173301 0.20318170197652383" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03843482117501883 0.003713266247335602 0.0015526342578088864" pos="-0.10305562947922309 0.21969196573200606 0.2015526342578089" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3741758796305 0.6535723496111 0.41300000001849996" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="2353.96824969" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.983382975437817"></joint>
            <site name="object0" pos="0.0008241203695000809 0.03142765038890005 0.006999999981500027" 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.001820261659735 0.001820261659735 0.001820261659735" file="mujoco_models/pikachu_dual_body.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/studded_0197.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>
    