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

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-11-25 12:24:30 -0500

joq gravatar image

The first example defines a "relative" name.

The second defines a "private" parameter.

Most ROS nodes look for parameters in their private namespace, so the second is generally preferred. But, there are sometimes reasons to define parameters at a higher level, as in the first example.