Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

By default, roslaunch will respawn the rosout node as long as the launch file is running.

You can make roslaunch terminate when one of your nodes exits by adding the required="true" parameter to its <node> tag in your launch file.

This will also cause roslaunch to shut down all of the other nodes in your launch file when the required node exits, meaning that you no longer have to implement a coordinated shutdown.