Ros2, Robotics, AI, Computer Vision, Robots.
rclcpp::shutdown(); return 0; } // sub.cpp // C++ Header files #include <memory> // Import the rclcpp client library and std_msgs header #include "rclcpp/rclcpp.hpp" #include "std_msgs/msg/string.hpp" // creation of function objects with placeholder arguments using std::placeholders::_1; //