config migration for receiver_gps

This commit is contained in:
Jakob Ketterl
2020-03-29 18:08:26 +02:00
parent 2b7d6738f1
commit fd9e913a49
7 changed files with 45 additions and 11 deletions

View File

@ -2,7 +2,8 @@ class Locator(object):
@staticmethod
def fromCoordinates(coordinates, depth=3):
lat, lon = coordinates
lat = coordinates["lat"]
lon = coordinates["lon"]
lon = lon + 180
lat = lat + 90