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 your nodes themselves do not need to know about the status of other nodes, but you just want to make sure that if one node dies then the whole system stops, then roslaunch will do what you want. For each node in your launch file, set the required attribute (see http://wiki.ros.org/roslaunch/XML/node#Attributes) to true. Then, if any of your nodes die, roslaunch will kill all the others and stop your system.