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

How to I list a shared parameter to a node

asked 2011-04-06 02:58:39 -0600

Markus Bader gravatar image

updated 2011-04-06 17:33:33 -0600

tfoote gravatar image

I like to list all shared parameter of a node

edit retag flag offensive close merge delete


A node can have private parameters relative to its own namespace. What do you mean by "shared"? Not private? In some other namespace?
joq gravatar image joq  ( 2011-04-07 02:34:50 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2011-04-06 03:00:00 -0600

Markus Bader gravatar image

updated 2011-04-06 17:33:54 -0600

tfoote gravatar image

replace NODENAME with your note

for i in rosparam list | grep NODENAME; do echo -ne "$i \t"; rosparam get $i; echo -e "";done

edit flag offensive delete link more

answered 2011-04-07 02:43:29 -0600

joq gravatar image

If you just want the names or values of private parameters that are currently defined for a node, rosparam can provide them directly:

$ rosparam list /roslaunch

$ rosparam get /roslaunch
uris: {host_vision_4__34552: 'http://vision-4:34552/'}

Replace the /roslaunch above with your desired node name.

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: 2011-04-06 02:58:39 -0600

Seen: 527 times

Last updated: Apr 07 '11