← Back to search

ROS2 Tutorials #2: How to Publish & Subscribe to a ROS2 Topic [UPDATED]

The Construct Robotics Institute 7:15

6,357 views · 60 likes Watch on YouTube ↗

In this video, you will learn how to publish and subscribe to a topic in ROS2 using the command line.

COMMANDS TO USE:

* ros2 topic list
* ros2 msg list
* ros2 msg show std_msgs/String
* ros2 topic pub /chatter std_msgs/String "data: Hello ROS Developers"
* ros2 topic echo /chatter

ROS2 Full Course for Beginners:
http://www.theconstructsim.com/construct-learn-develop-robots-using-ros/robotigniteacademy_learnros/ros-courses-library/ros2-basics-course/

RELATED ROS RESOURCES&LINKS:
ROS Development Studio (ROSDS) ---▸ http://rosds.online
Robot Ignite Academy --▸ https://www.robotigniteacademy.com

---
Feedback
---
Did you like this video? Do you have questions about what is explained? Whatever the case, please leave a comment on the comments section below, so we can interact and learn from each other.

If you want to learn about other ROS topics, please let us know on the comments area and we will do a video about it :)

#ROS2 #ROS #ROS2tutorials #Robot

Category (YouTube): Science & Technology

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.