ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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