Loading dynamic reconfigure params/ rosparam from a ROS node

asked 2021-10-19 03:14:30 -0500

parzival gravatar image

I want to change the move_base params (costmap inflation radius and dwa speed limits) of my robot while the nodes are up from a ROS node script.

I know how to do so using rosparam get/set syntax, but I'd like to update a lot of parameters, preferably stored in a yaml file I know how to do this using rqt_reconfigure, using the 'load params' button, but I'd like to know how to do it from the program.

edit retag flag offensive close merge delete

Comments

1

If Python is acceptable, you could take a look at how dynparam does this: ros/dynamic_reconfigure/scripts/dynparam.

It's the CLI equivalent of the rqt_reconfigure functionality you mention.

dynparam is also mentioned on wiki/dynamic_reconfigure.

gvdhoorn gravatar image gvdhoorn  ( 2021-10-19 03:40:29 -0500 )edit