Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you're looking for message filters. Basically you create two subscribers and then register them with a time synchronizer and that way you can supply a callback that will expect both messages as arguments

You can read about this here as well as see examples http://wiki.ros.org/message_filters