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 -0500
Seen: 2,876 times
Last updated: Aug 11 '15
Subscribe to lidar node on another machine and run rviz
rospy subscriber with multiple input
Call multiple subscriber periodically at the same time
multiple subscriber multiple publisher
One Global callbackqueue for each node?
multiple subscriber to single callback function not working
Multiple subscribers and single publisher in one python script?
messagefillter cannot callback. (multi subscribe /scan and /camera/depth/image_rect)