Interrupting rospy.spin() or writing a custom loop that does the equivalent.
Hi,
Is there a way to exit the rospy.spin() loop without completely shutting down the node?
Or possibly is there a way to write my own equivalent rospy.spin() loop which answers service calls periodically until I stop it?
Any help or comments are appreciated.