Ros2, Robotics, AI, Computer Vision, Robots.
--dependencies rclcpp std_msgs # Create a publisher node cd ~/ros2_ws/src/pub_sub/src touch pub.cpp # Create a Launch file cd ~/ros2_ws/src/pub_sub/ && mkdir launch touch launch/pub_sub_launch.py // pub.cpp // C++ Header files #include <chrono> #include <functional> #include <memory> #include