Ask Your Question
0

sync between disparity image and rectified image

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

2ROS0 gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

NEngelhard gravatar image

Google: "ros topic synchronize" -> message_filters

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 41 times

Last updated: Apr 20 '17