ROS 2 C++ Tutorial: Simple Publisher & Subscriber Explained!

preview_player
Показать описание
Learn how to create a simple publisher and subscriber in ROS 2 using C++! 🚀
This tutorial is perfect for beginners who want to understand the basics of ROS 2 communication and get hands-on experience with coding nodes in C++.

📌 What You’ll Learn:

How to set up a ROS 2 workspace for C++
Writing a simple publisher node
Writing a subscriber node
Compiling and running the nodes
Testing the communication between publisher and subscriber

Whether you’re just starting with ROS 2 or brushing up your skills, this video will guide you through every step with clear explanations and code examples.

✅ Subscribe for more ROS 2 tutorials

💬 Drop your questions in the comments section, and I’ll be happy to help!

🛠️ Resources Used in this Video:

🔔 Don’t forget to like, subscribe, and hit the notification bell to stay updated!

#ROS2Tutorial #ROS2C++ #PublisherSubscriber #rclcpp #ROS2Basics #RobotOperatingSystem
#ROS2Cpp
#PublisherSubscriber
#rclcpp
#RobotOperatingSystem
#LearnROS2
#CppForBeginners
#ROS2ForBeginners
Рекомендации по теме
Комментарии
Автор

Dear Karan, good work.

Actually I have one doubt, if I have two subscribers sb1 and sb2, and if sb2 callback depends on sb1 callback then how to ensure that sb1 callback will run before sb2 callback.

PS:- sb2 callback is heavily coded as compared with sb1 as its critical callback

sohampadhye