ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I agree with @mali that the data will not be synchronized.
For synchronizing data by timestamp (essentially @mali s suggestion), there is the message_filters package which offers a TimeSynchronizer
and an ApproximateTimePolicy
to sync incoming topics by timestamps. Which one you choose depends a little bit on the kind of data you expact.
(Without more details about your setup, I can only guess: TimeSynchronizer
seems reasonable for the second node, if required, as I guess it should act on the topics published from the first node simultaneously, for the third node the ApproximateTimePolicy
makes most sense, I guess)