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

Revision history [back]

There are several ways to accomplish this:

  1. The ns parameter in a <node> tag in a launch file sets the namespace that the node runs in: http://wiki.ros.org/roslaunch/XML/node (You could also use many other tags that let you specify a ns attribute, e.g., the <group> tag)
  2. You could also use the ROS_NAMESPACE environment variable.
  3. You could use the __ns "special key" remapping argument with rosrun