
•MainPath : this is the absolute path to the directory that contains the talks (see
“create a new talk” section). You have to update this value if you change the location
of the directory named NAODirectory or if you rename this directory.
•DefaultLanguage: the default language used by the robot when starting (”French”,
”English”, ...). If the language is changed by the user, the robot will automatically
switch back to the default language if nobody is around.
•doReposition: switches On or Off (On if value equals 1, Off if 0) the repositioning
mechanism of the robot.
•UseVoiceReco: switches On or Off (On if value equals 1, Off if 0) voice recognition
for selecting presentations.
•NaoqiLogging: switches On or Off (On if value equals 1, Off if 0) logging of infor-
mation from the robot. To be used mostly for debugging purposes or when trou-
bleshooting issues, deactivate otherwise as it makes quite intensive usage.
•VoiceSpeed: Allows to modify the pronunciation speed of the robot. The value is
expressed as a percentage of the standard speed. Default is 100%, allowed values
go from 50% (slower) to 400% (faster).
•StartWithMiddleTactile: Allows you to specify if the presentation in NaoPresen-
terLight can start with the touch sensor in the middle of Nao’s head or not. The
value is 0 for no, 1 for yes.
•StartWithPeopleDetection: Allows you to specify if the presentation in NaoPresen-
terLight can start with face detection or not. The value is 0 for no, 1 for yes. It is
possible to combine face detection with touch sensor.
•WaitAfterPresentationFinished: If face detection is enabled, it is important to put
a value in this field. This is the time that Nao will wait after a presentation (in Nao-
PresenterLight) before redoing face detection. The value is in ms, so 10 seconds
corresponds to 10,000.
•StartWithPeriodicTime: Specify if the presentation in NaoPresenterLight can start
every X seconds. The value is 0 if you do not want to use it, otherwise it’s the time
in ms. 10,000 will mean that Nao starts the presentation every 10 seconds.
WARNING: In all the XML files, do not put space before and after the values. The name
of your files (XML, pictures, sounds, ...) must not contain spaces in their names.
2.5 Autonomous life configuration
The file passiveSentence.xml, contains the sentences said by NAO during the autonomous
life. You can change these sentences by modifying this XML file. This is what it can look
like:
< sen te nce >
< lan gu age c ategor y ="French">
<say >N’ayez pas peur ,approc hez vous ,je ne mord pas .Je n ’ai pas ´e
t´e programm´e pour ¸c a! < / say >
< say > Eff ec tue r l ’accueil ici ,c’est un ho nneur pour un petit robot
comme moi ! < / sa y >
<say >J’aime ce boulot de pr ´e sentateur , ¸ca change de la danse . </ say >
</ language >
< lan gu age c ategor y ="English">
<say > Hey,come closer .Don ’t worry I don ’t bite ,I haven ’t been
pr ogra mm ed for it . </ say >
<say >I feel honored to welcome people like you . </ say >
<say >I like this pre senter job ,it ch anges from danses . </ say >
</ language >
< sen te nce >
During autonomous life, NAO will say randomly one of these sentences every 10 seconds
if there are no people detected.
6 Nao Presenter- V2.1.7