Skip to content

Generating new Hand configurations

Brice Donval edited this page Jan 7, 2020 · 7 revisions

In each phase, a hand configuration has to be described. Both hands (left and right) can be described or only one. Hand configurations are composed of the orientation of the hand and of its shape. For now the wrist positions can be described using two different kinds of position:

  • The SymbolicPosition
  • The TouchPosition

The hand orientation is described by defining the orientation of the palm and the fingers.

Example:

<phase type="STROKE">
	<hand distanceFixed="true" fingersOrientationRatio="1.0"
	  handShapeFixed="true" horizontalFixed="true"
	  palmOrientationRatio="0.0" side="Right" verticalFixed="true">
		<verticalLocation>YUpperC</verticallocation>
		<horizontalLocation>XC</horizontallocation>
		<locationDistance>ZNear</locationdistance>
		<handShape>form_fist</handshape>
		<palmOrientation>INWARD</palmorientation>
		<fingersOrientation>AWAY</fingersorientation>
		<palmOrientationSupplementary>DOWN</palmorientationsupplementary>
		<fingersOrientationSupplementary>AWAY</fingersorientationsupplementary>
	</hand>
</phase>
  • To edit the handshape graphically, add the HandShape Editor module from the 'Tools' category and connect it to the MPEG4 Animatable block .
  • The hand shape, in this case, refers only to the finger position. To create a new hand shape, do the following:
  • Open <GRETA_DIR>/bin/BehaviorRealizer/AnimationLexicon/HandShape.xml
  • Copy one of the hand shape, paste it after the last hand shape, give it a new name, and save the XML file and restart the Greta.
  • Back to the Hand Shape Editor, choose the hand shape you have created, and start playing around with the joints there.

Getting started with Greta

Greta Architecture

Quick start

Advanced

Functionalities

Core functionality

Auxiliary functionalities

Preview functionality

Nothing to show here

Previous functionality (possibly it still works, but not supported anymore)

Clone this wiki locally