ALSpeakingMovement¶
NAOqi Interaction engines - Overview | API
What it does¶
ALSpeakingMovement enables to start autonomously movements during the speech of the robot.
Note
If you call ALTextToSpeechProxy::say
the robot will never autonomously move no matter the state of ALSpeakingMovement.
If you call ALAnimatedSpeechProxy::say
the robot will autonomously move if ALSpeakingMovement is enabled.
How it works¶
ALSpeakingMovement is an autonomous ability which is enabled by default. For further details, see: Autonomous Abilities.
Speaking Movement Modes¶
Two modes are available:
random - The robot randomly launches some short neutral animations which are executed one after another.
ALSpeakingMovementProxy::addTagsToWords
ALSpeakingMovementProxy::resetTagsToWords
The speaking movement takes all motor resources if they are available. It stops as soon as they are asked by another animation (launched by ALAnimatedSpeech or ALAnimationPlayer for example).