ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Subscribe to multiple topics simultaneously

asked 2015-11-27 06:39:33 -0600

ne0h gravatar image

updated 2015-11-27 06:40:00 -0600

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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-11-27 08:29:05 -0600

Chrissi gravatar image
edit flag offensive delete link more

Comments

Looks good, thank you. I will take a closer look next week.

ne0h gravatar image ne0h  ( 2015-11-28 03:40:26 -0600 )edit

Thanks, I used an ApproximateTimeSynchronizer ( http://docs.ros.org/api/message_filte... )

ne0h gravatar image ne0h  ( 2015-12-03 11:07:29 -0600 )edit
0

answered 2016-01-21 06:02:40 -0600

sxin gravatar image
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: 2015-11-27 06:39:33 -0600

Seen: 1,110 times

Last updated: Nov 27 '15