This node use answer preprogrammed questions of people. It don't save any state, so it is not a chat.
/listen/en_default from qbo_listen: This topic is used to listen what people is saying to the robot
/qbo_face_tracking/face_pos_and_size from qbo_face_tracking: This topic is used to only listen questions when the robot detect a face.
/Qbo/festivalSay from: This topic is used to say the answers.
Simply build the node:
git clone https://github.com/OpenQbo/qbo_questions rosmake --rosdep-install qbo_questions
rosrun qbo_questions questions.py
To alter the questions/answers you have to edit the file: config/dialogues_xx xx correspond with each language. The sintaxis is very easy:
If you use plugins:
This node is programmed to allow easily to add plugins. The plugins files must be located at “src/plugins”, must be programmed in python. That files must be a collection of functions that could be called by the qbo_question node. That function must allow two parameters, the sentence(question) and the language. The function must return a string that will be readed by qbo_talk.