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

Revision history [back]

click to hide/show revision 1
initial version

Updating to Noetic, having trouble shutting down ROS

Are you saying you saw killing the roscore kill all nodes in a previous version of ROS? If so, which version?

I see the same behavior on Melodic. roscore closing does not cause all the nodes connected to it to shutdown. Only a signal within the process does that.

>>> print(rospy.is_shutdown())
False
>>> rospy.signal_shutdown('foobar')
>>> print(rospy.is_shutdown())
True