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.
Clone the repository into the src
folder of a catkin workspace
git clone https://github.com/RIP4KOBE/curigpt_ros.git
Create and activate a new virtual environment.
cd /path/to/curigpt_ros
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
Install the Python dependencies within the activated virtual environment.
pip install -r requirements.txt
Build and source the catkin workspace,
catkin build curigpt_ros
source /path/to/catkin_ws/devel/setup.bash
- Copy your Qwen API from this website
- Export it to environmental variables:
export DASHSCOPE_API_KEY=sk-bfe12097afed4249a73cbafb4fec3e1c
- Copy your OpenAI API from this website
- Paste it to
config/config.json
.