rospy: documentation

This commit is contained in:
Ken Conley 2009-10-30 20:51:27 +00:00
parent e4e274d0aa
commit 349f40769b
1 changed files with 3 additions and 2 deletions

View File

@ -399,8 +399,9 @@ class Service(_Service):
def spin(self):
"""
Let service run and take over thread until shutdown. Use this method to keep
your scripts from exiting execution.
Let service run and take over thread until service or node
shutdown. Use this method to keep your scripts from exiting
execution.
"""
try:
while not rospy.core.is_shutdown() and not self.done: