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

Global dynamic reconfigure over multiple nodes

asked 2014-04-18 09:47:12 -0500

li9i gravatar image

Hi everybody.

I am facing a difficulty designing a dynamic reconfigure node.

My package's configuration consists of three nodes, each one with a dynamic reconfigure of its own.

I would like to have parameters common to all three nodes, which are changed in all of them by accessing and modifying some kind of "global" dynamic reconfigure parameter regime.

Is something like this possible?

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-04-18 17:48:48 -0500

sai gravatar image

Hoping that you have seen the tutorials at http://wiki.ros.org/dynamic_reconfigu...

I ll first create a single global_param.cfg file and add the global and local parameters in that.

I ll make sure that the header file is added in different nodes where I want to change the parameters.

In the specific nodes, I will access only the variables/parameters that are used to change the values.

I guess that in this way a single configure file can be used to change the parameters across nodes.

edit flag offensive delete link more

Comments

Hi Sai and thank you. Why oh why didn't I think of this? Due to a last-moment architectural change in my package, I will not be needing a global parameters file right now. Nevertheless, your solution is elegant and I will test it in my spare time.

li9i gravatar image li9i  ( 2014-04-19 04:03:54 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-04-18 09:47:12 -0500

Seen: 1,432 times

Last updated: Apr 18 '14