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

Dynamically reconfiguring parameters from other nodes

asked 2018-08-06 14:14:47 -0500

mescarra gravatar image

updated 2018-08-06 14:15:32 -0500

Hello everyone!

So, I'm running nodeA with a dynamic_reconfigure server, that's working just fine. I'm using rqt_reconfigure and everything's ok. Now I have a new node, nodeB, from where I want to modify parameters in nodeA. I've figured out there are 2 topics: /nodeA/parameter_descriptions[dynamic_reconfigure/ConfigDescription] and /nodeA/parameter_updates[dynamic_reconfigure/Config]. So, I've created a publisher that complies with that interface and now I'm publishing to that topic. I can publish exactly what I want to the updates topic (if I echo it, I get the values I want for each parameter), but the callback that should be called in nodeA is not getting called, ergo ignoring the updates. It's important to say that this callback works just fine when modifying parameters using rqt_reconfigure.

Any ideas? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-06 15:21:52 -0500

lucasw gravatar image

updated 2018-08-06 15:22:14 -0500

Dynamic reconfigure clients use a service interface, the topics are just for feedback. Take a look at and #q12276 .

edit flag offensive delete link more


I love you

mescarra gravatar image mescarra  ( 2018-08-06 16:22:50 -0500 )edit

Question Tools

1 follower


Asked: 2018-08-06 14:14:47 -0500

Seen: 675 times

Last updated: Aug 06 '18