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

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

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

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

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
8

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

Ken gravatar image

I believe you want the required="true" parameter for your node element. http://www.ros.org/wiki/roslaunch/XML/node says: "If node dies, kill entire roslaunch."

edit flag offensive delete link more

Comments

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

Question Tools

2 followers

Stats

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

Seen: 1,666 times

Last updated: May 28 '11