ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosnode getting params from the parameter server

asked 2016-06-06 12:01:04 -0600

2ROS0 gravatar image

Hi,

Is it possible to tell during runtime, which nodes are using which params from the parameter server? (just like it's possible to tell which nodes are listening to topics using the rostopic info command) Also, are params 'latched' to a node. Is it possible to change the param value and have the node get the new value?

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-06 12:08:42 -0600

ahendrix gravatar image

There is no way to determine which nodes are using a parameter.

The common way to change parameters in a node at run-time is to use dynamic_reconfigure.

roscpp also provides cached parameters, which can be used to keep a few local parameters up to date with the master, but this increases the load on the ROS master.

If you have data that needs to be explicitly passed between two nodes on a regular basis, it is better to use a topic because it is easier to inspect and record.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-06-06 12:01:04 -0600

Seen: 374 times

Last updated: Jun 06 '16