ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

sync between disparity image and rectified image

asked 2017-04-20 11:17:14 -0500

2ROS0 gravatar image


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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-20 11:22:37 -0500

NEngelhard gravatar image

Google: "ros topic synchronize" -> message_filters

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-04-20 11:17:14 -0500

Seen: 140 times

Last updated: Apr 20 '17