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

Subscribe to multiple topics simultaneously

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

ne0h gravatar image

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

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 -0500

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 -0500 )edit

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

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

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

sxin gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-27 06:39:33 -0500

Seen: 1,169 times

Last updated: Nov 27 '15