PyBot is a robot infrastructure that aims to collect data from the user's wristband, to interact with the user and to take decisions according to user's emotion. The interaction with the user is provided using speech and speech recognition facilities.
PyBot is developed in Python and it is designed to run on Raspberry Pi 3.
In this section are described all the steps required to install and deploy the PyBot
All the commands in this step must be run in the terminal.
- Install the latest version of Raspian OS
- Install the latest version of Python3
- Install the latest version of pip3
- Install the GoPigo2 Software
sudo curl -kL dexterindustries.com/update_gopigo3 | bash
sudo reboot
- Install sensors library
curl -kL dexterindustries.com/update_sensors | bash
- Install pyaudio
sudo apt-get install python3-pyaudio
- Install flac
sudo apt-get install flac
- Install libhdf5-dev
sudo apt-get install libhdf5-dev
-
Move into the project root folder
-
Install python requirements
sudo pip3 install -r requirements.txt
- In the project root folder open the file "settings.py"
URL_PYSERVER = 'http://192.168.43.115:3000'
PYBOT_LANGUAGE = 'en_EN'
- Change the URL_PYSERVER with the URL of your PyServer instance
- Change the PYBOT_LANGUAGE with the language that you prefer. The languages availabe are:
- en_EN: English
- it_IT: Italian
- es_ES: Spanish
- zh-cn: Chinese
- From the terminal app move into the root folder of the project
- Run the command:
sudo python3 main.py