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

Setting up Dynamic Reconfigure for several nodes?

asked 2017-07-11 04:45:36 -0500

OMC gravatar image

I wanted to have a node that worked as a Dynamic Reconfigure server for my other nodes. What would be the best approach?

If I start a server in each node I end up with several instances of the same configuration set. The only thing I can figure out is having just one configuration server and have the other nodes periodically read those parameters through rosparam (i.e: NodeHandle.param<t>(paramName,paramValue,paramDefault);).

Is there any way to have all nodes read the new configuration parameters upon a parameter change rather than periodically?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-07-12 01:30:22 -0500

Procópio gravatar image

This does not answer your first question, but you can use cached parameters to get only parameters that have changed.

edit flag offensive delete link more

Comments

If I have understood how cached parameters work, when I use getParamCached(), I will get it from the master instead of the rosparam server which will be faster. So, what do you mean by getting only parameters that have changed? Won't I still need to run getParamCached() for each param? Thanks

OMC gravatar image OMC  ( 2017-07-12 04:43:24 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-07-11 04:45:36 -0500

Seen: 413 times

Last updated: Jul 12 '17