Note Ubuntu 20.04 is highly recommended, since the initial version of python3 is python 3.8 (which is necessary for this package).
Please follow the official documentation for Ros Neotic, and also configure your ros environment.
cd ~/catkin_ws/src
git clone https://github.com/Skylark0924/Rofunc-ros.git
cd ~/catkin_ws/src/Rofunc-ros/scripts
./install_deps.sh
cd ~/catkin_ws/
catkin_make
- Copy your OpenAI API from this website
- Paste it to
chat/config/api_key.yaml
.
This API is used for text2speech
-
Register the AWS account
-
Create default profiles by following this documentation
~/.aws/credentials
[default] aws_access_key_id=AKIAIOSFODNN7EXAMPLE aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
~/.aws/config
[default] region=us-west-2 output=json
-
Check your AWS configuration
$ aws configure AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY Default region name [None]: us-west-2 Default output format [None]: json
-
Add IAM role permissions for your AWS account
- Search
Role
in your account console and enter theIdentity and Access Management (IAM)
page - Find the
Role
inAccess management
- Click
Create role
- Click
AWS account
- Search and add
AmazonPollyFullAccess
- Add a name and then click
Create role
- Search