Skip to content
Snippets Groups Projects
Commit dfda6187 authored by Emil Harlan's avatar Emil Harlan
Browse files

a

parent 3c1b57fe
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,14 @@ class NavigationNode(Node):
# Veröffentliche das Ergebnis
result = self.navigator.getResult()
msg = String()
if(result == GoalStatus.STATUS_SUCCEEDED):
self.status_pub.publish('Goal reached')
msg.data = "Goal reached"
self.status_pub.publish(msg)
else:
self.status_pub.publish('Navigation Failed')
msg.data = 'Navigation Failed'
self.status_pub.publish(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment