Ask Your Question

Revision history [back]

shared dynamic_reconfigure_servers in different nodes

Is it possible to have two different nodes with an dynamic_reconfigure::Server<t> sharing the same "resource name" in the rosgraph context? This would be interesting to share configurations between different nodes. If someone send a config update request, then both nodes would be configured.

Node1.cpp for process 1:
---
dynamic_reconfigure::Server<myconfigtype> server1(ros::NodeHandle("/shared/name"));
server1.setCallback(myP1Callback);
...

Node2.cpp for process 2:
---
dynamic_reconfigure::Server<myconfigtype> server2(ros::NodeHandle("/shared/name"));
server2.setCallback(myP2Callback);
...

shared dynamic_reconfigure_servers in different nodes

Is it possible to have two different nodes with an dynamic_reconfigure::Server<t> sharing the same "resource name" in the rosgraph context? This would be interesting to share configurations between different nodes. If someone send a config update request, then both nodes would be configured. configured simultaneusly.

Node1.cpp for process 1:
---
dynamic_reconfigure::Server<myconfigtype> server1(ros::NodeHandle("/shared/name"));
server1.setCallback(myP1Callback);
...

Node2.cpp for process 2:
---
dynamic_reconfigure::Server<myconfigtype> server2(ros::NodeHandle("/shared/name"));
server2.setCallback(myP2Callback);
...