<?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.0374667462920418 0.0032652639262122658 0.0009737376065831381" pos="-0.023378796854379935 -0.13448571096594633 0.20097373760658316" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0440091892338487 0.027689234532638742 0.004882558170180991" pos="0.15794227339589806 -0.24921570136278026 0.204882558170181" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0023436311971156178 0.023912929097425224 0.0007983227020132583" pos="-0.011925815781476112 -0.10215535858843006 0.20079832270201328" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02071046759298084 0.022367489109133488 0.0003272640644825146" pos="0.2765925633822887 0.2901944542243378 0.20032726406448254" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.025094055982158733 0.012550058825331584 0.0008690542562290192" pos="0.23308042494087783 0.2922342690054098 0.20086905425622903" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.014783583433229625 0.018216816635136013 0.0002148300620453424" pos="0.29427993754142495 -0.037822809286530035 0.20021483006204535" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02577868983670022 0.012704851792893636 0.0042217354527698606" pos="-0.23407065790964088 -0.0802907919954198 0.20422173545276986" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.018181277317698162 0.02071600535925623 0.0019754377324628426" pos="0.06279605491957252 -0.15789859728977648 0.20197543773246285" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.3744440924169998 0.66054605154975 0.4130000000124999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1149.90201929" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="4.653996648876199"></joint>
            <site name="object0" pos="0.0005559075830001703 0.024453948450250063 0.006999999987500061" 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.001227851291125 0.001227851291125 0.001227851291125" file="mujoco_models/pikachu_dual_body.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/interlaced_0194.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>
    