cbandera / rosparam_handler

An easy wrapper for using parameters in ROS
Other
47 stars 26 forks source link

Loading a parameter values via file #10

Closed shaun-edwards closed 8 years ago

shaun-edwards commented 8 years ago

ROS parameters can be loaded directly using param or via yaml using rosparam in a launch file. Dynamic reconfigure can be similarly initialized using the dump/load methods documented here, although this method does not guarantee a successful init.

Such functionality is useful when the parameter values for a deployed node have been pre-determined, but are not the same for every node of that type. For example a "perception node" may have several parameters that are tuned for a specific application.

Is there a way to load paramaters from a file using rosparam_handler?

BTW...thanks for creating this packages. It addresses a lot of my issues with ROS parameters and dynamic reconfigure.

cbandera commented 8 years ago

Hi, have a look at the tutorial and espacially at the launch files. There I include a yaml file to overwrite some parameters upon launch.

Hope this helps, cbandera