Ask Your Question

Revision history [back]

Have a look at the time synchronizer message filter, this is designed to solve this problem for you.

It can subscribe to several different topics and executes its callback with sets of messages which are as close together in time as possible. This will probably mean that some of the first image messages will be discarded until the amcl messages start arriving.

Hope this helps.