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

shared dynamic_reconfigure_servers in different nodes

asked 2012-12-14 07:35:14 -0500

updated 2012-12-14 07:35:44 -0500

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 simultaneusly.

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

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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-12-14 11:13:03 -0500

joq gravatar image

I don't think so.

They would both have to declare the same ROS service.

edit flag offensive delete link more



I had just tested it. It doesn't work. As you say they both shares a service named "set_update" (a point-to-point operation). One interesting point its that everything looks work,but only one receives the updates. In the end I'll have to use topics. I think this would be a desirable feature.

Pablo Iñigo Blasco gravatar image Pablo Iñigo Blasco  ( 2012-12-14 11:24:26 -0500 )edit

Question Tools


Asked: 2012-12-14 07:35:14 -0500

Seen: 125 times

Last updated: Dec 14 '12