I would like to change what Pepper the robot says when it is in "default mode", i.e. without having any application launched; thus enabling it to answer some questions the manufacturer didn't include, or to change its answer.
I have already tried —to no avail— looking for a solution on Aldebaran's documentation, google researches proved fruitless too.
The kind of questions that the robot can be asked are here: http://doc.aldebaran.com/2-5/family/pepper_user_guide/basic_channel_conversation_pep.html it doesn't say how to change the content though.
I'm basically expecting the robot to be able to deliver some information without needing to get into application; I'm aware that there are collaborative speeches but this isn't what I am looking for.
You can find the dialoges from Pepper at:
/data/home/nao/.local/share/PackageManager/apps/dialog_*
e.g.
/data/home/nao/.local/share/PackageManager/apps/dialog_goodbye/dlg_goodbye/dlg_goodbye_enu.top
You could edit or extend those.
You could copy the content, edit them as you like and merge it into your own dialog. But you would have to "get into application".
If you just want to add something to the default dialoges. Then you could activate your own custom topic in default mode.
Given your topic file is named myTopic.top
and is placed in /data/home/nao/
:
import naoqi
from naoqi import ALProxy
ald = ALProxy("ALDialog", "pepper.local", 9559)
myTopic = ald.loadTopic("/data/home/nao/myTopic.top")
ald.activateTopic(myTopic)
ald.getLoadedTopics("English")
Then your custom topic should be listed among the other topics activated in defaut mode.
Make your own application with your own dialog and just activate all the other topics too.