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

Roslaunch does not exit after processes finish

asked 2014-01-30 06:44:37 -0500

JohnMdz gravatar image


I've created a roslaunch that does all the work and finished cleanly. The problem is that it stays alive and to fully terminate the program I need to ctrl-c. I've read in an old ticket that it's because the core keeps running (for non-specified reasons).

Is it possible to force the launch to exit after all processes end?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-30 08:04:37 -0500

ahendrix gravatar image

I believe you're looking for the required="true" option to the <node> tag in roslaunch.

Take a look at the description of the node tag for more information.</node>

edit flag offensive delete link more


Thank you! Worked like a charm!

JohnMdz gravatar image JohnMdz  ( 2014-02-05 00:23:01 -0500 )edit

Thanks! Been looking for this for ages!

Sasinister gravatar image Sasinister  ( 2017-12-29 12:29:54 -0500 )edit

Question Tools


Asked: 2014-01-30 06:44:37 -0500

Seen: 3,393 times

Last updated: Jan 30 '14