ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.