Ask Your Question
4

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
7

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

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 1,216 times

Last updated: May 28 '11