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

dynamic_reconfigure in ROS

asked 2022-06-13 23:12:38 -0500

electrophod gravatar image

updated 2022-06-13 23:13:53 -0500

Can anyone explain me the use of dynamic_reconfigure?

From its description it says that it can change the parameters on the ROS parameter server during runtime without killing the node, but I can also do that myself using rosparam set <parameter_name> <parameter_value right?

What am I missing here?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-06-14 17:56:03 -0500

Mike Scheutzow gravatar image

Changing the property on the rosparam server does not mean your already running ros node will notice that the property has changed. The dynamic_reconfigure allows you do define a callback so your node will be quickly notified of the change (and possibly do something with the new value.)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-06-13 23:12:38 -0500

Seen: 91 times

Last updated: Jun 14 '22