Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 863 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 863 Bytes

chatgpt_ros_cpp

ROS 2 service for ChatGPT API written in C++

ci_humble

Locate package in workspace

mkdir -p ~/ws_ros2/src
cd ~/ws_ros2/src
git clone git@github.com:MrBearing/chatgpt_ros_cpp.git

Run script to install dependencies

source /opt/ros/$ROS_DISTRO/setup.bash
cd ~/ws_ros2/src/MG400_ROS2
./setup.bash
exec -l $SHELL

Launch node and rqt_service

This command launch chatgpt_ros_cpp_node with rqt_service

source ~/ws_ros2/install/setup.bash
ros2 launch chatgpt_ros_cpp_bringup chat.launch.py api_key:="YOUR_OPEN_AI_API_KEY"

Reference