From d9e5b403d7247922864e81703aad900eab72918a Mon Sep 17 00:00:00 2001 From: Chris Pham Date: Thu, 12 Apr 2018 12:22:25 -0700 Subject: [PATCH] Swap East/West for DMS --- .../src/Framework/NavigationSystems/WaypointsCoordinator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py index bcef430..cd90223 100644 --- a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py +++ b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py @@ -241,9 +241,9 @@ class WaypointsCoordinator(QtCore.QThread): lng_m = float(int((lng - lng_d) * 60)) lng_s = ((lng - lng_d - (lng_m/60.0)) * 3600.) if lng_d > 0: - self.longitude_card_label.setCurrentText("W") - else: self.longitude_card_label.setCurrentText("E") + else: + self.longitude_card_label.setCurrentText("W") self.longitude_degree_label.setValue(lng_d) self.longitude_minute_label.setValue(lng_m) self.longitude_second_label.setValue(lng_s)