ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can only use remapping arguments (the :=
syntax) for parameters and topics. If you want to push a node into a namespace on the command-line, you would do it like so:
$ ROS_NAMESPACE=new_namespace rosrun somepkg somenode
This will force somenode
to be in the new_namespace
namespace.