<mujoco>
    <compiler angle="radian" coordinate="local" meshdir="../stls/hand" texturedir="../textures"/>
    <option timestep="0.002" iterations="20" apirate="200">
        <flag warmstart="enable"/>
    </option>

    <include file="shared.xml"/>

    <asset>
        <include file="shared_asset.xml"/>

        <texture name="texture:object" file="block.png" gridsize="3 4" gridlayout=".U..LFRB.D.."/>
        <texture name="texture:hidden" file="block_hidden.png" gridsize="3 4" gridlayout=".U..LFRB.D.."/>

        <material name="material:object" texture="texture:object" specular="1" shininess="0.3" reflectance="0"/>
        <material name="material:hidden" texture="texture:hidden" specular="1" shininess="0.3" reflectance="0"/>
        <material name="material:target" texture="texture:object" specular="1" shininess="0.3" reflectance="0" rgba="1 1 1 0.5"/>
    <mesh name="mesh:object" file="contactdb_objects/bowl.stl"/></asset>

    <worldbody>
        <geom name="floor0" pos="1 1 0" size="1 1 1" type="plane" condim="3" material="floor_mat"/>
        <body name="floor0" pos="1 1 0"/>

        <include file="robot.xml"/>

        <body name="object" pos="1 0.87 0.2">
            <geom name="object" type="mesh" size="0" material="material:object" condim="4" density="567" mesh="mesh:object"/>
            <!-- <geom name="object_hidden" type="box" size="0.024 0.024 0.024" material="material:hidden" condim="4" contype="0" conaffinity="0" mass="0"></geom> -->
            <site name="object:center" pos="0 0 0" rgba="1 0 0 0" size="0.01 0.01 0.01"/>
            <joint name="object:joint" type="free" damping="0.01"/>
        </body>
        <body name="target" pos="1 0.87 0.2">
            <geom name="target" type="mesh" size="0" material="material:target" condim="4" group="2" contype="0" conaffinity="0" mesh="mesh:object"/>
            <site name="target:center" pos="0 0 0" rgba="1 0 0 0" size="0.01 0.01 0.01"/>
            <joint name="target:joint" type="free" damping="0.01"/>
        </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 1 4" dir="0 0 -1" name="light0"/>
    </worldbody>
</mujoco>