An image displayed on the selection screen (associated to the tag imgPres in ar-
chitecture.xml)
An image displayed on the selection screen when a presentation is selected (asso-
ciated to the tag imgPresSelected in architecture.xml)
For each language, an XML file describing the content of the presentation.
1 or more PowerPoint presentations
(optional) one or more sound files (WAV or MP3)
3.2.1 Main presentation file
Here is an example of the main presentation file:
<?
xml version
=
" 1.0 "
< presentation >
< language category =
< speechFile >
</ language >
< language category =
< speechFile >
</ language >
</ presentation >
It specifies for each language that the robot can use which presentation file to use. Pos-
sible languages are: French, English, Spanish, German, Italian, Chinese, Japanese, Ara-
bic, Russian.
WARNING: Languages have to be installed on the robot. Usually Nao comes with 2
languages: English and an extra language.
3.2.1.1 Selection with voice recognition
It is possible to start a presentation using voice recognition. For this you need to activate
the option UseVoiceReco in the configuration file and add keyword tags for the presen-
tations that you want to trigger containing a list of keywords separated by semicolons (for
each language), for instance:
<?
xml version
=
" 1.0 "
< presentation >
< language category =
< speechFile >
< keyword >
</ language >
< language category =
< speechFile >
< keyword >
</ language >
</ presentation >
In this example, during the selection screen, if the user says one of the keywords "nao" or
"robot", this presentation will be started.
WARNING: Each presentation must have its own set of keywords. It is strongly advised
to deactivate speech recognition in noisy environments to avoid unwanted triggering of
presentations.
3.3 Description file
This file describes the different actions to be performed during a presentation : which
PowerPoint file should be opened, what to say, which movement to execute.
encoding =
" UTF -8 "
" French "
>
presentationFR
" English "
>
presentationEN
encoding =
" UTF -8 "
" French "
>
presentationFR
nao
;
robot
</ keyword >
" English "
>
presentationEN
nao
;
robot
</ keyword >
? >
.
xml
</ speechFile >
.
xml
</ speechFile >
? >
.
xml
</ speechFile >
.
xml
</ speechFile >
9
Nao Presenter- V2.1.7
Need help?
Do you have a question about the Nao Presenter and is the answer not in the manual?