<?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.0023559561778000527 0.015239543352193487 0.0006166609997608634" pos="0.29519414212204026 0.2291727696295412 0.2006166609997609" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.030962681179370365 0.048619669066306624 0.0030482613345091587" pos="0.25241395658788174 0.04066195172472675 0.20304826133450918" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024160217588908253 0.028324840638898462 0.0013369443323710127" pos="-0.24225544835356272 -0.2295019566479375 0.20133694433237104" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.029284567181562943 0.0070935904286259085 0.0029303611965491986" pos="0.2532285574291446 0.19638895520222965 0.2029303611965492" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.024685920131299346 0.009741033960778758 0.003672442747474337" pos="-0.1857910520928437 0.2456174224397048 0.20367244274747434" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.016694286155784884 0.035488475764636526 0.0019777737715043916" pos="0.049996855546263985 -0.28655555291434004 0.20197777377150442" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.03967045758903354 0.025114075511677082 0.0012542712132741281" pos="-0.16853263958782333 0.24432630538035977 0.20125427121327413" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.00469444483891808 0.04339680853419679 0.0021168174986400065" pos="-0.027334264026653732 -0.2076597432428151 0.20211681749864002" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.0040238747887131835 0.026001476165434096 0.0006649891765476677" pos="0.11972745047910716 -0.0021649285138188867 0.20066498917654768" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.007094973013234216 0.013073787669544278 0.0021471511723317456" pos="0.014828016337924965 -0.2760144547250431 0.20214715117233176" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
<geom size="0.02956210882977346 0.03743085633006781 0.0013640094546104986" pos="0.01691728879958021 0.16474814648609482 0.2013640094546105" type="box" mass="200" rgba="0.4 0.4 0.4 1"></geom>
        </body>
        
        <body pos="1.323705818261 0.6230824940234999 0.4114589771235" name="object0">
            <light castshadow="false"/>
            <geom type="mesh" density="1122.49493298" rgba="1 1 1 1" material="object" mesh="object_mesh" conaffinity="0" contype="1"/>
            <joint name="object0:joint" type="free" damping="0.7193022832395697"></joint>
            <site name="object0" pos="0.05129418173900002 0.06191750597650014 0.008541022876499993" 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.000687956638315 0.000687956638315 0.000687956638315" file="mujoco_models/fox.stl" name="object_mesh"/>
        <texture file="textures/obj_textures/braided_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>
    