Ask Your Question
2

how to list all the nodes of a package?

asked 2012-10-12 04:41:53 -0600

roskidos gravatar image

I'm getting used to ROS and I've found several times commands have the following syntax:

command package_name package_node

then it raises a question "How can I list all the nodes of that package??" to use in such commands??

edit retag flag offensive close merge delete

Comments

1

Maybe I'm misinterpreting your question, but if you're talking about running commands in your shell, (like rosrun, roslaunch) tab auto-completion works with ROS commands too. Tabbing twice should give you all the options you can use.

tbh gravatar imagetbh ( 2012-10-12 05:03:24 -0600 )edit

rosrun robotino_navigation executables [args] -> I think that's only possible to search for all possible packages. In this case, when I tab again to find all the possible executables but it ROS cursor doesn't show these hints

roskidos gravatar imageroskidos ( 2012-10-12 05:47:30 -0600 )edit

@joq & @tbh: that solves half of my problem. Thank you!

roskidos gravatar imageroskidos ( 2012-10-12 20:35:44 -0600 )edit

Since you still have a problem, please edit your question to add additional information about it, or open a new question, whichever makes sense to you.

joq gravatar imagejoq ( 2012-10-13 04:21:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-10-12 06:15:09 -0600

joq gravatar image

updated 2012-10-13 04:18:13 -0600

As @tbh said, shell auto-completion will list all the nodes by pressing the tab key twice like this:

$ rosrun package_name <tab><tab>
edit flag offensive delete link more

Comments

This doesn't work on all platforms. i.e. Raspian doesn't support tab-completion.

Cerin gravatar imageCerin ( 2017-02-05 21:49:42 -0600 )edit

Tab completion works, but there should be a command for that.

bxl gravatar imagebxl ( 2017-06-20 13:50:28 -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

Stats

Asked: 2012-10-12 04:41:53 -0600

Seen: 5,389 times

Last updated: Oct 13 '12