0
$\begingroup$

Rosanswers logo

Hi,

I'm running stereo_image_proc to get rectified images as well as disparity images. And then I have a bunch of processing nodes that work with these. For a particular application, I need the pair of them together (rectified image and the corresponding disparity image).

Now since these are both published on individual topics, due to whatever reason (latency, processing etc.) sometimes they go out of sync. And so I have some code to read the headers and decide if these are the same pair or not. This seems not ideal to me.

Is there a better way to get a rectified image and the corresponding disparity image or point cloud message "together" somehow? Does image_transport have something for this?

Thank you.


Originally posted by 2ROS0 on ROS Answers with karma: 1133 on 2017-04-20

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Google: "ros topic synchronize" -> message_filters


Originally posted by NEngelhard with karma: 3519 on 2017-04-20

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.