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

Select published topics

asked 2013-10-23 07:08:19 -0600

Pino gravatar image

updated 2014-01-28 17:18:20 -0600

ngrennan gravatar image


I'm using the openni_camera and openni_launch stacks with ROS fuerte on a platform with low processing power.

I only need two topics: /rgb/image_rect and /depth_registered/image_rect. Is there a way to only publish those topics in order to speed up the processing time?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-23 20:27:23 -0600

Thomas gravatar image

You do not have to do that in ROS. Data will (should) be computed only if there is at least one subscriber listening to your topic. The whole goal here is to reduce the configuration burden of each node. Think of the topic list as a list of capabilities and not a list of produced data.

edit flag offensive delete link more


Is there a way to get topics from more than one Kinect?

Athoesen gravatar image Athoesen  ( 2013-11-01 09:28:34 -0600 )edit

I guess if you launch the nodes twice in different namespaces it should work. You may need to connect your two kinects on two different USB controllers though.

Thomas gravatar image Thomas  ( 2013-11-01 18:42:41 -0600 )edit

Well as I explained in my question here: I'm not sure exactly how to modify the launch file to launch separate nodes. Any ideas? Edit: Thanks for the suggestion Thomas, it helped me figure it out.

Athoesen gravatar image Athoesen  ( 2013-11-03 09:09:17 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-23 07:08:19 -0600

Seen: 285 times

Last updated: Oct 23 '13