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

rosnode list for not active nodes

asked 2011-05-31 23:25:42 -0600

Filip gravatar image


I'm creating something like an IDE for ROS. Is it possible to get a list of all available nodes. Something like 'rosnode list' but for the not yet started nodes. I think 'rosrun TAB TAB ' displays them, but this needs manual input of the TAB-key. Maybe there is a way to use the autocompletion-feature in a shellscript.

Thanks for the help!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-05-31 23:29:32 -0600

dornhege gravatar image

You could probably use the completion to make a rospack list-nodes or similar. Maybe the output of rospack list (only packages) can help you.

edit flag offensive delete link more


Well I guess rospack list-names will do it at the moment. Thank you very much.
Filip gravatar imageFilip ( 2011-06-01 01:52:26 -0600 )edit

Groovy bash completion uses catkin_find --without-underlays --libexec <pkg> to determine the dir for executables of package PKG.

dornhege gravatar imagedornhege ( 2014-03-31 22:16:00 -0600 )edit

answered 2011-05-31 23:30:28 -0600

You'll find the tab-completion code in /opt/ros/diamondback/ros/tools/rosbash/rosbash

Look for function _roscomplete_exe

edit flag offensive delete link more


Thanks, I tried it a while, but couldn't figure out how this works. I guess this would be a nice solution.
Filip gravatar imageFilip ( 2011-06-01 01:57:05 -0600 )edit

answered 2014-03-31 22:08:49 -0600

miloup gravatar image

updated 2014-03-31 22:25:20 -0600

to see the list of the available nodes in a package, do : $ rosrun [package_name] and hit "tab key" twice without hitting return key. ex: rosrun turtlesim "tab key" twice

edit flag offensive delete link more


Did you even read the question? Moreover, this is about 3 years old and has long been answered.

demmeln gravatar imagedemmeln ( 2014-03-31 23:40:15 -0600 )edit

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: 2011-05-31 23:25:42 -0600

Seen: 1,240 times

Last updated: Mar 31 '14