ROS 2 service for ChatGPT API written in C++
mkdir -p ~/ws_ros2/src
cd ~/ws_ros2/src
git clone git@github.com:MrBearing/chatgpt_ros_cpp.git
source /opt/ros/$ROS_DISTRO/setup.bash
cd ~/ws_ros2/src/MG400_ROS2
./setup.bash
exec -l $SHELL
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"