mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
Swap East/West for DMS
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user