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

Revision history [back]

click to hide/show revision 1
initial version

If I understand correctly, to run a node, you have to use a launch file [..]

No, that is not correct.

Nodes are 'just' binaries that happen to use ROS infrastructure for the input and output. So they can be run directly as you would any other binary (ie: ./name_of_binary, or $CATKIN_WS/devel/lib/$PKG/$BINARY). In that case the node would use the name that is hard-coded in the source.

rosrun $PKG $BINARY also does not override the name.