Hi. I've a c++ thread that is checking every x seconds if some robots are active. For that, every robot publishes a topic (/robot1/status). So if the robot is publishing, I know that it is alive.
For that reason, my thread subscribes to all these "status" topics. Is it possible to have a common callback for all the topics or I need one function to every one topic?
Thanks.
Originally posted by Verane on ROS Answers with karma: 25 on 2013-06-26
Post score: 0