This commit is contained in:
parent
72def77d40
commit
2f8bed4581
@ -747,9 +747,9 @@ def handle_supv_hk_data(set_id: int, hk_data: bytes, pw: PrintWrapper):
|
|||||||
nvm_0_1_state,
|
nvm_0_1_state,
|
||||||
nvm_3_state,
|
nvm_3_state,
|
||||||
mission_io_state,
|
mission_io_state,
|
||||||
fmc_state
|
fmc_state,
|
||||||
) = struct.unpack(fmt_str, hk_data)
|
) = struct.unpack(fmt_str, hk_data[:inc_len])
|
||||||
pw.dlog(f"Temp PS {temp_ps} | Temp PL {temp_pl} | Temp SUP {temp_sup}")
|
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"Uptime {uptime} | CPU Load {cpu_load} | Avail Heap {avail_heap}")
|
||||||
pw.dlog(f"Number TCs {num_tcs} | Number TMs {num_tms}")
|
pw.dlog(f"Number TCs {num_tcs} | Number TMs {num_tms}")
|
||||||
pw.dlog(f"SOC state {SocState(soc_state)}")
|
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"NVM 3 State {nvm_3_state}")
|
||||||
pw.dlog(f"Mission IO state {mission_io_state}")
|
pw.dlog(f"Mission IO state {mission_io_state}")
|
||||||
pw.dlog(f"FMC state {fmc_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:
|
elif set_id == SetIds.BOOT_STATUS_REPORT:
|
||||||
fmt_str = "!BBIIBBBBBB"
|
fmt_str = "!BBIIBBBBBB"
|
||||||
inc_len = struct.calcsize(fmt_str)
|
inc_len = struct.calcsize(fmt_str)
|
||||||
|
Loading…
Reference in New Issue
Block a user