ROS2 Learning
02 Publisher and subscriber Directory Reference
Directory dependency graph for 02 Publisher and subscriber:
CPP/02 Publisher and subscriber

Files

file  simple_publisher_class_node.cpp
 A basic publisher class node.
 
file  simple_subscriber_class_node.cpp
 A basic subscriber class node.
 
file  simple_subscriber_node.cpp
 A basic subscriber node Not recommend this style, composition of multiple nodes in the same executable is not possible. Example purpose It's useful to look how to use WallRate and exceptions.
 
file  sub_pub_pipeline.cpp
 Simple node that creates a pipeline subscribing to the /my_message topic published by simple_publisher_class_node.cpp node, it modifies the message data and publishes the modified message to the /my_mod_message topic.