Version 5 (modified by welberge, 6 years ago) (diff)



Configuring restposes

The configuration of restposes is handled in the gesture binding.

Definition of a shift to a static pose.

In the gesturebinding:

    <constraint name="stance" value="SITTING"/>                
    <constraint name="ARMS" value="ARMS_FORWARD"/>
  <RestPose type="SkeletonPose" file="Humanoids/armandia/restposes/sitting.xml"/>

file refers to a SkeletonPose.

BML to use this pose:

<bml xmlns=""  id="bml1">
<postureShift id="pose1">
  <stance type="SITTING"/>
  <pose part="ARMS" lexeme="ARMS_FORWARD"/>


Gestures with a higher priority override those with lower priority. Priority might change during execution (for example to allow gestures retraction phase overriding). The default priority is 100; retraction priority is 25 (currently only implemented in GestureTMU).

Priority can be set through BML (currently only implemented for MURML gestures). e.g.

<murmlgesture xmlns:bmla="" bmla:priority="50" id="gesture1" start="2" xmlns="">

or, using the MURML description extension

<gesture bmla:priority="50" id="g1" mode="LEFT_HAND" lexeme="BEAT" start="2">
<description priority="1" type="murmlgesture">
<murmlgesture xmlns="" id="g1">

(the priority attribute in description has another meaning: it indicates the preference of that specific description over possible alternative descriptions (no alternatives are provided in the example)).