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

saving rosparams

asked 2011-05-25 04:50:44 -0600

bunower gravatar image

updated 2011-05-28 05:18:53 -0600

kwc gravatar image

I need to save rosparams.
I can use use setParam on a running Node to set params.
But if i record the Node with rosbag and play it, then i cant see my setted param in the rosparam list.
I saw somewhere that i can use YAML for that, but i need a good tutorial for this.
I know that roslaunch helps to set params, but i dont know where to start for all these thing.
I never used roslaunch.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-05-25 05:54:43 -0600

kwc gravatar image

The rosparam command-line tool will let you save and restore parameters. The documentation is here:

http://www.ros.org/wiki/rosparam

edit flag offensive delete link more

Comments

4

is there any way to do it programatically?

smihael gravatar image smihael  ( 2015-08-18 06:55:01 -0600 )edit
1

1) Commandline tools are programs that can be easilly integrated into your application. 2) If you mean "programatically" by language client APIs, you can use dump_params in Python API.

130s gravatar image 130s  ( 2018-04-10 18:52:42 -0600 )edit

Question Tools

Stats

Asked: 2011-05-25 04:50:44 -0600

Seen: 3,151 times

Last updated: May 25 '11