Playing Sounds And Videos On The Computer; The Replacement File; Presentation Development; Testing Tool - Generation Robots Nao Presenter User Manual

Table of Contents

Advertisement

This command allows you to jump to a specific step defined by the attribute label. Asso-
ciated with a if command it allows you to change the flow of the presentation depending
on user input (or other variables). Pour associer un label ` a un step il suffit de lui ajouter
l'attribut label comme ceci :
< step label =
" mylabel "
For instance you can define a label at the beginning of your presentation, then ask at the
end if the user wants to hear it again, in which case you can jump back to this label
WARNING: Make sure that all your labels are unique inside a presentation.

3.3.13 Playing sounds and videos on the computer

You can play sounds and videos by integrating them inside your Powerpoint presenta-
tion. Make sure to configure the slide properly by making its animations start when it
appears, and moving to the next slide at the end of the sound/video. By doing so you can
then synchronize your robot with the end of the sound/video by using the wait next slide
command in the same step.
3.4 The replacement file
During a presentation, it's possible to use some replacement words, in order to follow the
easily adapt your presentations to specific events or pieces of information (such as the
name of a visiting person). The file replacementFile.xml, inside NaoDirectory, allows you
to easily define such replacements rules:
<?
xml version
=
" 1.0 "
< main >
< replace tag =
< replace tag =
< replace tag =
</ main >
Each element replace defines the word to be replaced (tag) by another one (by). There-
fore the step:
< step >
< say >
Hello
$
News
? </ say >
</ step >
will be pronounced: "Hello M. Smith, do you want to hear the annoucement of our C E O
about our new products".
WARNING: You can add as many replacement tags as you want, just make sure that they
are all unique and preceded by $.

4 Presentation development

4.1 Testing tool

Its name is NaoPresenterTester, et you can find it in your main program folder. It allows
you to quickly test one or more steps of your presentation. You can use the menu in order
to choose a presentation. You can directly edit the XML. The PlayAll button allow you
to play the complete presentation. The PlaySteps button allow you to test the selected
steps. The Stop button allows you to stop the execution of the current presentation.
WARNING: the file will be automatically saved before each execution, make sure to make
backups.
>
encoding =
" UTF -8 "
" $ VIP "
by =
" M . Smith "
" $ Boss "
by =
" our C E O "
" $ News "
by =
" our new products "
VIP
,
do you want to hear the annoucement of
? >
/ >
/ >
/ >
13
$
Boss about
Nao Presenter- V2.1.7
$

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?

Table of Contents