works
All checks were successful
EIVE/-/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-08-15 14:31:49 +02:00
parent 72def77d40
commit 2f8bed4581
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -747,9 +747,9 @@ def handle_supv_hk_data(set_id: int, hk_data: bytes, pw: PrintWrapper):
nvm_0_1_state,
nvm_3_state,
mission_io_state,
fmc_state
) = struct.unpack(fmt_str, hk_data)
pw.dlog(f"Temp PS {temp_ps} | Temp PL {temp_pl} | Temp SUP {temp_sup}")
fmc_state,
) = struct.unpack(fmt_str, hk_data[:inc_len])
pw.dlog(f"Temp PS {temp_ps} C | Temp PL {temp_pl} C | Temp SUP {temp_sup} C")
pw.dlog(f"Uptime {uptime} | CPU Load {cpu_load} | Avail Heap {avail_heap}")
pw.dlog(f"Number TCs {num_tcs} | Number TMs {num_tms}")
pw.dlog(f"SOC state {SocState(soc_state)}")
@ -757,7 +757,7 @@ def handle_supv_hk_data(set_id: int, hk_data: bytes, pw: PrintWrapper):
pw.dlog(f"NVM 3 State {nvm_3_state}")
pw.dlog(f"Mission IO state {mission_io_state}")
pw.dlog(f"FMC state {fmc_state}")
FsfwTmTcPrinter.print_validity_buffer(hk_data[inc_len:], 13)
pw.dlog(FsfwTmTcPrinter.get_validity_buffer(hk_data[inc_len:], 13))
elif set_id == SetIds.BOOT_STATUS_REPORT:
fmt_str = "!BBIIBBBBBB"
inc_len = struct.calcsize(fmt_str)