<?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.03021209721801782 0.01472335600652638 0.002533852514847258" pos="0.23606847046888052 0.023197083594503287 0.20253385251484726" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03698944357151448 0.030059697459294064 0.0012915462326053586" pos="0.24097968618215942 0.2349202914174296 0.20129154623260537" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.041483348150691636 0.001421149693505203 0.0034003161136231" pos="0.14716393345401413 -0.19317491708737222 0.2034003161136231" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.002265200712001707 0.01702843708604744 0.002970884590110542" pos="0.24351170423936347 0.20428310007564493 0.20297088459011056" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02447925842859186 0.03369433328498081 0.004937310185305473" pos="-0.16932066132779913 0.2691111423679537 0.20493731018530548" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0246635981683734 0.004987373197476265 0.0026163981961739757" pos="-0.13230213930656803 0.017781098673239737 0.202616398196174" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03921022735811752 0.04836804334838536 0.0031969726205560364" pos="0.17424878540898436 0.15306862657806214 0.20319697262055605" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.006874934398565775 0.022554278815273717 0.004334150233852383" pos="-0.06542459480089569 0.21914703345829972 0.2043341502338524" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.023171178577743628 0.03226131839309183 0.0013468819847011274" pos="-0.25556938309487476 0.11829944499192957 0.20134688198470113" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.374142017739 0.6526919190371 0.41300000001899995" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1050.70965907" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="1.2930072836424271"></joint>
            <site name="object0" pos="0.0008579822609999788 0.032308080962900054 0.006999999981000038" 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.001895053528595 0.001895053528595 0.001895053528595" file="mujoco_models/pikachu_dual_body.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/dotted_0001.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>
    