SGP4 Propagator Prep #227

Merged
muellerr merged 9 commits from spg4-propagator into main 2023-08-15 10:46:28 +02:00
Showing only changes of commit 051e9e6ffb - Show all commits

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]")