Skip to content
conmiga1Public

About

literally two bots talking

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ROS 2 Bot Communication — Alice & Bob

Two ROS 2 nodes that hold a scripted conversation using a custom service.

  • alice.py — service client, sends lines and prints the replies
  • bob.py — service server, replies based on Chatbot.srv

Requirements

  • Ubuntu 24.04
  • ROS 2 Jazzy

Build

cd ~/chatbot_ws
source /opt/ros/jazzy/setup.bash
rosdep install --from-paths src --ignore-src -r -y
colcon build
source install/setup.bash

Run

Terminal 1 — start Bob (server) first:

cd ~/chatbot_ws
source /opt/ros/jazzy/setup.bash
source install/setup.bash
ros2 run chatbot_nodes bob

Terminal 2 — start Alice (client):

cd ~/chatbot_ws
source /opt/ros/jazzy/setup.bash
source install/setup.bash
ros2 run chatbot_nodes alice

About

literally two bots talking

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages