X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=scripts%2Fgps_follow_waypoints.py;h=78eaea5a6715cbc093f172332f4d0ec56c54561f;hp=e2405f51664c47331524dc6c29f148ec76e05761;hb=5265263d46b9396252d852a763e68913ad3a913e;hpb=6c223bf6af2bfcff0279d0c56a32ce2e5e7d9e04 diff --git a/scripts/gps_follow_waypoints.py b/scripts/gps_follow_waypoints.py index e2405f5..78eaea5 100755 --- a/scripts/gps_follow_waypoints.py +++ b/scripts/gps_follow_waypoints.py @@ -64,7 +64,7 @@ class GPSGotoCoords: if self.move_base.get_state() == GoalStatus.SUCCEEDED: rospy.loginfo("The base moved to (%f, %f)" % (lat, lon)) else: - rospy.logerr("The base failed to (%f, %f)" % (lat, lon)) + rospy.logerr("The base failed to (%f, %f). Error: %d" % (lat, lon, self.move_base.get_state())) exit(1) def on_shutdown(self):