multiple topics subscribers with single callback
Hello everyone,
How to create subscribers to multiple topics with single callback in cpp?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hello everyone,
How to create subscribers to multiple topics with single callback in cpp?
You can look into message_filters package. This package filters messages from more than one subscribed topics and passes it to a single call back. All the subscribed topics need to have a time_stamp, for this to work.
I may not be of help here. I do not use ROS on arduino.
I haven't tried to create several callbacks but you can remap the different topics to a single topic in the launch file and process them with a single subscriber.
Asked: 2015-08-07 08:16:15 -0600
Seen: 2,920 times
Last updated: Aug 11 '15
multiple subscriber multiple publisher
Subscribe to lidar node on another machine and run rviz
messagefillter cannot callback. (multi subscribe /scan and /camera/depth/image_rect)
Multiple subscribers and single publisher in one python script?
One Global callbackqueue for each node?
multiple subscriber to single callback function not working