Ask Your Question
0

rosnode list for not active nodes

asked 2011-06-01 04:25:42 -0500

Filip gravatar image Filip
41 1 2 5

Hi,

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 delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-01 04:29:32 -0500

dornhege gravatar image dornhege flag of Germany
15810 44 149 309

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 publish link more

Comments

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

answered 2011-06-01 04:30:28 -0500

Felix Endres gravatar image Felix Endres flag of Germany
3332 13 32 62
http://www.informatik.uni...

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

Look for function _roscomplete_exe

edit flag offensive delete publish link more

Comments

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

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-06-01 04:25:42 -0500

Seen: 175 times

Last updated: Jun 01 '11