ros2 C++ Hello World (The Simplest ros2 Tutorial)
https://jbohren.com/articles/rclcpp-hello-world26.11.2021 · The first step is writing the simplest C++ program that can interact with ros2 in a meaningful way. All it does is prepare to announce itself as a ros2 node called hello_world_node, then broadcast a Hello-world message over the standard /rosout topic, and then wait for a SIGINT or ctrl-c.. This program will be built from single file named hello_world_node.cpp with the …