SGP4 Propagator Prep #227
@ -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]}")
|
||||
|
Loading…
Reference in New Issue
Block a user