Skip to content

POC to see how ROS2 operates when huge number of publisher and subscriber are introduced to Foxy

License

Notifications You must be signed in to change notification settings

mnokka-unikie/ROS2Multinodes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS2Multinodes

POC to see how ROS2 (Galactic) operates when huge number of publisher and subscriber are introduced to Foxy


Fetch down to ROS2 workspace src directory and build: colcon build --event-handlers console_direct+ (as verbose)

Manual node starting:
start listener: ros2 run multinodes mylistener
starte talker: ros2 run multinodes mytalker

Script based node starting (Ubuntu):

execute startnodes.sh
script adds tabbed new terminals to current terminal for defined nodes(publisher and suscribers)

OR

Use Python launcher: ros2 launch multinodes launcher.py


Server Client example from ROS2 pages:

Execute server(own shell): ros2 run multinodes adder_server
Excute client with one "query"(own shell):ros2 run multinodes adder_client 4 5
(Client should reply with sum of parameters, calculated by server)


Parameter example from ROS2 pages:

Execute parameter node(own shell): ros2 run multinodes parameter
Give parameter to node (own shell): ros2 param set /parameter my_parameter PARAMETER



Node code replicated intentionally. ..

About

POC to see how ROS2 operates when huge number of publisher and subscriber are introduced to Foxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 80.9%
  • CMake 8.6%
  • Python 5.0%
  • Shell 3.8%
  • C 1.7%