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

Is it possible to kill other nodes in launch file when a particular one ends/dies?

asked 2011-05-27 11:50:41 -0500

updated 2011-05-28 05:15:55 -0500

kwc gravatar image

I have a situation where I'd like to kill all other nodes launched from the same launch file once another is finished doing its work.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-27 11:57:28 -0500

Ken gravatar image

I believe you want the required="true" parameter for your node element. says: "If node dies, kill entire roslaunch."

edit flag offensive delete link more


Perfect. That's exactly what I was looking for.
Asomerville gravatar image Asomerville  ( 2011-05-27 11:58:32 -0500 )edit

Question Tools



Asked: 2011-05-27 11:50:41 -0500

Seen: 1,623 times

Last updated: May 28 '11