|
ROS2 Learning
|
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. More...
#include "rclcpp/rclcpp.hpp"#include "std_msgs/msg/string.hpp"
Functions | |
| void | TopicCallback (const std_msgs::msg::String::SharedPtr msg) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::shared_ptr< rclcpp::Node > | node = nullptr |
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.
A basic subscriber node Not recommend this style, composition of multiple nodes in the same executable is not possible. Example purpose.