A presentation contains an initialization followed by any number of steps. Each step can
contain different actions (change the power point slide, make a movement, says some-
thing, wait, ...) All the actions inside a step will be launched at the same time (except if
you use a delay action). The program will wait for every action in a step to be over before
moving on to the next step. Here is a simple example:
<?
xml version
=
" 1.0 "
< speech >
< init >
< mov >
stand
< ppt >
pptPresentation
</ init >
< behavior >
< step >
< slide >1 </ slide >
< say >
myself
</ step >
< step >
< say >
</ step >
< step >
< mov >
< sound >
</ step >
< step >
< slide >2 </ slide >
< say >
< wait_next_slide / >
</ step >
< step >
< mov >
sit
</ step >
</ behavior >
</ speech >
3.3.1 Initialization
< init >
< ppt >
pptPresentation
< mov >
stand
</ mov >
</ init >
During the initialization phase, we select and open a Powerpoint file (which will be opened
on slide 1). We can also specify which position the robot should be into (sit, crouch, ou
stand) using the mov command.
3.3.2 Moving
< mov >
mouvement1
</ mov >
Make the robot execute a specific movement. The list of predefined movements is avail-
able in appendix A.
3.3.3 Changing slides
< slide >2 </ slide >
This action allows you to change the slide currently displayed on the powerpoint (slide 2
in this case). You can also use the keyword next instead of a number to jump to the next
slide (if there are no animations on the current slide.
encoding =
" UTF -8 "
</ mov >
.
ppt
</ ppt >
Hello
,
my name is Nao
</ say >
I am a humanoid robot
mouvement1
</ mov >
button1
.
mp3
</ sound >
Look at me dancing on this video
</ mov >
.
ppt
</ ppt >
? >
,
I
'
m going to tell you about
,
I can move and talk
</ say >
10
</ say >
Nao Presenter- V2.1.7
Need help?
Do you have a question about the Nao Presenter and is the answer not in the manual?