<?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.016969110202425496 0.03626710025451357 0.0024949612907800684" pos="-0.25878022717794114 -0.1693258130717277 0.20249496129078007" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03522345126019705 0.007209043498891603 0.0048141584024218595" pos="0.0890296477038594 -0.2897881171392303 0.20481415840242187" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01274250264742555 0.02700286850591509 0.0001520349558719969" pos="0.23578981486387712 0.09833932261964562 0.200152034955872" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03240655618532061 0.04162840591420223 0.0004434449369826968" pos="-0.23441751637519254 0.14553752136673137 0.2004434449369827" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.04608649924905978 0.02412845197290842 0.004766490680549773" pos="-0.04017392923578622 -0.23365964271971834 0.20476649068054978" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.01592724374823043 0.04916742473977176 0.0015124650912200757" pos="0.08621175005731652 0.17785343237013124 0.2015124650912201" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030329700845829866 0.03591760804417423 0.004194266654916903" pos="0.12980514960132777 0.2601712583239601 0.2041942666549169" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.005450434040931393 0.015692088599010032 0.001355606495341511" pos="-0.21132140975906244 -0.015369368982659393 0.2013556064953415" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.373996994912 0.648921233887 0.4130000000224999" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1315.37422832" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="3.0052755192636305"></joint>
            <site name="object0" pos="0.0010030050880001085 0.036078766113000094 0.00699999997750006" 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.002215370198175 0.002215370198175 0.002215370198175" file="mujoco_models/pikachu_dual_body.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/veined_0107.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>
    