Open topic with navigation
<hand:model>.setGesture
Set the hand gesture
<hand:model>.setGesture( |
|
gesture |
closeThumb = False |
weight = 1.0 |
) |
|
gesture
Flag that specifies a hand gesture. The flag is a combination of the following values:
hand.GESTURE_INDEX_FINGER
hand.GESTURE_MIDDLE_FINGER
hand.GESTURE_RING_FINGER
hand.GESTURE_LITTLE_FINGER
The flag can also be one of the following gesture constants:
hand.GESTURE_UNKNOWN
hand.GESTURE_FIST
hand.GESTURE_INDEX_FINGER
hand.GESTURE_MIDDLE_FINGER
hand.GESTURE_TWO_FINGER
hand.GESTURE_RING_FINGER
hand.GESTURE_RING_INDEX_FINGER
hand.GESTURE_RING_MIDDLE_FINGER
hand.GESTURE_THREE_FINGER
hand.GESTURE_LITTLE_FINGER
hand.GESTURE_INDEX_LITTLE_FINGER
hand.GESTURE_LITTLE_MIDDLE_FINGER
hand.GESTURE_NOT_RING_FINGER
hand.GESTURE_LITTLE_RING_FINGER
hand.GESTURE_NOT_MIDDLE_FINGER
hand.GESTURE_NOT_INDEX_FINGER
hand.GESTURE_FLAT_HAND
closeThumb = False
Controls whether the thumb is closed
weight = 1.0
A value between 0 and 1 that controls the weight of the gesture.
Remarks
This command should only be used when no sensor is attached to the hand or when the sensor update flag is off.
Return Value
None