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

How does a pkg communicate with the yaml file

asked 2013-01-31 15:41:24 -0500

Bharadwaj gravatar image

updated 2013-01-31 16:38:01 -0500

130s gravatar image

The following tutorial how does the package communicate with the yaml file ?

http://ros.org/wiki/pr2_mechanism/Tutorials/SImple%20URDF-Controller%20Example

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-01 02:45:00 -0500

thebyohazard gravatar image

The tutorial code is using the ros parameter server. The parameter server stores different kinds of variables and makes them available to running nodes.

To load a yaml config file onto the parameter server, you'd either load it with the rosparam load xml tag in a launch file or use the rosparam command line program.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-31 15:41:24 -0500

Seen: 138 times

Last updated: Feb 01 '13