ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
What you need is a message synchronizer: http://wiki.ros.org/message_filters/ApproximateTime (http://wiki.ros.org/message_filters Point 4.2)
You can give your two subscribers to the synchronizer and you will have a callback function that contains both messages.