← Back to search

[ROS2 Q&A] 218 - How to Create Conditional Publisher in ROS2

The Construct Robotics Institute 24:01

1,036 views · 15 likes Watch on YouTube ↗

Learn how to publish a warning message based on the level of a battery in ROS2

This video answers the following question asked on ROS Answers:
https://answers.ros.org/question/373178/conditional-statement-for-publisher-and-subscriber/

You'll learn:
- How to create a simple publisher and subscriber
- How to work with incoming messages
- How to add condition to topic publication

See the code in rosject:
https://app.theconstructsim.com/#/l/3ddf70be/
---
RELATED ROS RESOURCES&LINKS:

ROS Development Studio (ROSDS) ---▸ http://rosds.online
Robot Ignite Academy --▸ https://www.robotigniteacademy.com
ROS2 Tutorials --▸ https://app.theconstructsim.com/#/Course/61
https://app.theconstructsim.com/#/Course/50
Written version of this video with the code --▸ https://bit.ly/3piHYe2
---
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 #ROSpublisher #ROSsubscriber

Category (YouTube): Science & Technology

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