Ask Your Question

Revision history [back]

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.