lets be clean about this
EIVE/-/pipeline/pr-main This commit looks good Details

This commit is contained in:
Marius Eggert 2023-08-08 10:01:50 +02:00
parent 6d88746ec3
commit 051e9e6ffb
1 changed files with 4 additions and 1 deletions

View File

@ -1067,7 +1067,10 @@ def handle_gps_data_processed(pw: PrintWrapper, hk_data: bytes):
)
]
current_idx += inc_len_source
pw.dlog(f"GPS Source: {GPS_COURCE_DICT[source]}")
if GPS_COURCE_DICT.get(source) is not None:
pw.dlog(f"GPS Source: {GPS_COURCE_DICT[source]}")
else:
pw.dlog(f"'GPS Source (key unknown)': {source}")
pw.dlog(f"GPS Latitude: {lat} [deg]")
pw.dlog(f"GPS Longitude: {long} [deg]")
pw.dlog(f"GPS Altitude: {alt} [m]")