Chatter: Simple publication of std_msgs String topic between two nodes in C++ (Listener and Talker)
Code tested under Ubuntu 16.04 + ROS2 ardent distro
Code is based on ros2 official examples but it's made simpler (or so I tried).
They are well structured so they can be used as templates.
Brought to you by:
Oscar Lima