0
$\begingroup$

Rosanswers logo

Hi,

I implement a stair detection algorithmus for ROS. Therefore the node analyzes input data from an Asus Xtion camera via openni_launch. Can the node subscribe to both topics, /camera/depth/image and /camera/rgb/image, and receive both image frames to the same time?

Thanks in advance, Max


Originally posted by ne0h on ROS Answers with karma: 21 on 2015-11-27

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Have a look at this: http://answers.ros.org/question/9705/synchronizer-and-image_transportsubscriber/


Originally posted by Chrissi with karma: 1642 on 2015-11-27

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by ne0h on 2015-11-28:
Looks good, thank you. I will take a closer look next week.

Comment by ne0h on 2015-12-03:
Thanks, I used an ApproximateTimeSynchronizer (http://docs.ros.org/api/message_filters/html/python/#message_filters.ApproximateTimeSynchronizer)

$\endgroup$

Your Answer

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