in Robot/src/orchestrated_robot/scripts/move_base_client.py [0:0]
def done_callback(self, status, result):
if (status == GoalStatus.SUCCEEDED):
rospy.loginfo("Goal succeeded for id: " + self.id)
elif (status == GoalStatus.PREEMPTED or status == GoalStatus.RECALLED):
rospy.loginfo("Goal was cancelled for id: " + self.id)
elif (status == GoalStatus.ABORTED):
rospy.loginfo("Goal aborted for id: " + self.id)
elif (status == GoalStatus.REJECTED):
rospy.loginfo("Goal rejected for id: " + self.id)