Pronouncing Text; Playing Sound On The Robot; Delays In A Step; Triggering Powerpoint Animations - Generation Robots Nao Presenter User Manual

Table of Contents

Advertisement

3.3.4 Pronouncing text

< say >
hello
</ say >
This action allows the robot to pronounce some text. If no animation is specified in the
step, the robot will perform contextual moves related to your text (for instance pointing to
you or himself on the words me/you).
It is possible to introduce pauses in the text:
< say >
hello
\
Pau
=2000\
In this example, we introduce a 2 seconds (2000 milliseconds) delay between "hello" et
"how are you".
It is also possible to trigger animations synchronized with your text using the following
syntax:
< say >^
start
(
animations
Gestures
/
Hey_1
</ say >
In this example, the robot will wave its hand while saying "hello", after the animation
terminates it will pronounce "how are you?". This features relies on ALAnimatedSpeech,
for more advanced usage refer to Aldebaran documentation available here. The list of
available animations is available on this page. You can also trigger your own custom
animations if they have been installed on the robot.

3.3.5 Playing sound on the robot

< sound >
button1
.
mp3
The robot will play the specified soundfile. The step will terminate only when the sound
has is finished. Sounds must have been deployed on the robot in advance (cf. 4.2).
WARNING: Soundfiles should not contain spaces in their name.

3.3.6 Delays in a step

< delay > 1800 </ delay >
A delay in milliseconds (so here it means 1 8 seconds) is introduced before executing the
rest of the actions. This functionality is useful if you want to synchronize your motion with
text or videos.

3.3.7 Triggering Powerpoint animations

< action / >
This command allows you to simulate a click on your power point, in order to launch
animations defined on your powerpoint. If there is no more animations, the presentation
will move to the next slide.

3.3.8 Wait for slide change

< wait_next_slide / >
This command allows you to set the robot in pause mode until the presentation is moved to
the next slide. This is useful for letting a human speak on a slide, and resume presentation
when he manually moves to the next slide. Make sure you configure your Powerpoint
properly so that slides are not passed automatically after a delay.
Another usage is to synchronize with the end of sounds and videos played in Powerpoint.
how are you
/
Stand
/
Gestures
)
How are you
?
</ sound >
? </ say >
/
Hey_1
)
hello
11
^
wait
(
animations
Nao Presenter- V2.1.7
/
Stand
/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Nao Presenter and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents