rospy Reaction to ROSCore Shutdown
When running a node in python (or C++), is there a way to detect the loss of ROSCore or the ROSMaster? I understand how to detect shutdown of the node itself, but need to be able to handle, in my own way, loss of ROSCore.
Are you asking how to handle something like that or how to detect that this happened to be able to handle it?
Sorry, asking how to detect the loss.