ROS: Difference between revisions

Line 24: Line 24:
* ~private (the node's name replaces the tilde)
* ~private (the node's name replaces the tilde)


Names can furthermore be [http://wiki.ros.org/Remapping%20Arguments remapped] when a node is started by e.g. rosrun.
Names can furthermore be [http://wiki.ros.org/Remapping%20Arguments remapped] when a node is started by e.g. <code>rosrun</code>.
* Special case: launch node into namespace with <code>__ns</code>
* Special case: launch node into namespace with <code>__ns</code>
* Special case: change node name with variable <code>__name</code>
* Special case: change node name with variable <code>__name</code>
** To launch barnode with the name barnode3: `roslaunch foopkg barnode __name:=barnode3`
** To launch barnode with the name barnode3: <code>roslaunch foopkg barnode __name:=barnode3</code>


==Executables==
==Executables==