wiki:AnimationEngine

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

--

AnimationEngine

Configuring restposes

The configuration of restposes is handled in the gesture binding.

Definition of a shift to a static pose.

In the gesturebinding:

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

file refers to a SkeletonPose.

BML to use this pose:

<bml xmlns="http://www.bml-initiative.org/bml/bml-1.0"  id="bml1">
<postureShift id="pose1">
  <stance type="SITTING"/>
  <pose part="ARMS" lexeme="ARMS_FORWARD"/>
</postureShift>	
...
</bml>