Loading dynamic reconfigure params/ rosparam from a ROS node
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.
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.