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 1acbb8bb43 - Show all commits

View File

@ -1060,12 +1060,7 @@ def handle_gps_data_processed(pw: PrintWrapper, hk_data: bytes):
)
]
current_idx += inc_len_vec
source = [
f"{val:8.3f}"
for val in struct.unpack(
fmt_source, hk_data[current_idx: current_idx + inc_len_source]
)
]
source = struct.unpack(fmt_source, hk_data[current_idx: current_idx + inc_len_source])[0]
current_idx += inc_len_source
if GPS_COURCE_DICT.get(source) is not None:
pw.dlog(f"GPS Source: {GPS_COURCE_DICT[source]}")