This is a university project for interacting with NAO socially with python 2.7 library with naoqi. In this project, my main contribution is to design the scenario using state machine diagram and implements the scenario within main_dialog.py, functions.py and wordslist.py (only a small part of the codes). In terms of coding, the majority of this project is contributed by @SikaiFeng.
这是一个大学项目,关于用 naoqi 和 python 2.7 库与 NAO 进行社交互动。在这个项目中,我的主要贡献是使用状态机图设计场景,并在 main_dialog.py、functions.py 和 wordslist.py 中实现场景(仅小部分代码)。在编码方面,该项目的大部分由 @SikaiFeng 贡献。
- adjust the connection settings (ROBOT_IP & ROBOT_PORT).
- start the script
- main.py initiates the program.
- main_dialog.py the main dialogue file of the document, where the overall dialogue, navigation, and gestures will be used.
- functions.py stores all functions related to the main_dialog.py script
- scenario.py defines some basic and reusable functions in the dialogue.
- navigation.py sets landmark detection and moves towards the landmark function
- wordslist.py provides the overall wordlist that robot might recognize or respond to the customer.
- motion1.py contains the state machine diagram of the whole process
- nao_nocv_2_1.py contains all configuration functions to interact with the robot.
- state_machine_a3.py shows the state machine diagram of the process
This scenario is based on the assignment 2, where a robot serves as a waitor in the restaurant.