how i know subsciber is started?
i want to use, if subscriber spin first time, i start my code? So, how i know subsciber is started at first time? Or, how i use similar idea, consept?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
i want to use, if subscriber spin first time, i start my code? So, how i know subsciber is started at first time? Or, how i use similar idea, consept?
Please refer to prior answer is a good explanation how subscriber works.
Also, I suggest you read the ROS Concepts Computational Graph Level: http://wiki.ros.org/ROS/Concepts
And there is a good article by Nicolo Valigi about concurrency in ROS1 and ROS2 worth reading: https://nicolovaligi.com/articles/con...
Hope this helps you understand how it all ties together.
Asked: 2022-02-16 13:02:46 -0600
Seen: 87 times
Last updated: Feb 17 '22
Subscriber and Publisher node at once in cpp
Which ways of communicating with a controller are real-time safe?
How to recieve an array over Publisher and Subscriber? (Python)
basic question in understanding publishing and subscribing
Is there a way to check for dropped messages that don't have headers?