ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Disabling unused streams for openni_launch

asked 2013-01-10 19:04:02 -0600

Fabian Saccilotto gravatar image

I am using openni_launch to start my kinect. Per default it publishes a lot of topics (IR, Depth, RGB in mono, rectified, registered, compressed, theora versions).

I would be interested if it is possible to disable the unused topics per launch file to increase performance? Or is it necessary to change the sources?

Thanks in advance

edit retag flag offensive close merge delete


Don't expect to much performance incrementation if any at all; Usually those topics' computations are paused if no node is subscribed. The kinect isn't even switched on until someone subscribes. (Beside that, your question is valid)

felix k gravatar image felix k  ( 2013-01-10 23:01:27 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-11 19:18:52 -0600

jbinney gravatar image

As felix says, there shouldn't really be a performance difference, since processing won't be done unless a particular topic is subscribed to. It would be possible to add arguments to openni.launch to disable launching of certain nodelets (and therefor get rid of certain topics), but there are already a fair number of arguments to the launchfiles and I'd rather not add more.

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


Asked: 2013-01-10 19:04:02 -0600

Seen: 150 times

Last updated: Jan 11 '13