ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you set the disable_signals parameter in rospy.init_node to True then you can manually shutdown the node with a call to rospy.signal_shutdown(reason) where reason is a String with the reason for shutdown.

For more information check out this wiki or the rospy API