Does roscore gets shut down after hitting CTRL-C if started by roslaunch

asked 2020-09-12 10:17:41 -0500

RicoJ gravatar image

updated 2020-09-12 10:18:58 -0500

roscore will be started by a launch file if it is not already running. Also, I have always believed that it will get shut down, together with all nodes, by hitting CTRL-C on the corresponding terminal.

However, in this question, I started roscore through a launchfile, and after i hit CTRL-C, it seems that although all nodes have been shut down, roscore did not, since I could still see 1. /rosout, 2. parameters on parameter server.

Is there a reason why?

Thanks, Rico

edit retag flag offensive close merge delete

Comments

Hi, I haven't seen this behaviour before unless there was a roscore already running. Can you add more information about your setup? In your other question you mention you are using docker but not much more than that.

martimorta gravatar image martimorta  ( 2020-09-13 04:18:49 -0500 )edit