mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-09-28 21:17:33 +00:00
Transformed GPS output to degrees
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import math
|
||||
import numpy as np
|
||||
|
||||
from typing import Any, List
|
||||
@@ -34,4 +35,7 @@ class GPS(Sensor):
|
||||
x = self._dataset.fetch_values(['latitude', 'longitude', 'altitude'])
|
||||
x = self._sensor_specific_effects(x)
|
||||
|
||||
# Convert to degrees.
|
||||
x * 180 / math.pi
|
||||
|
||||
return x
|
||||
|
Reference in New Issue
Block a user