bugfix MPSoC HK parsing
This commit is contained in:
parent
87e5abe8eb
commit
377e98b5c2
@ -522,7 +522,7 @@ def handle_ploc_mpsoc_hk_data(printer: FsfwTmTcPrinter, hk_data: bytes, set_id:
|
|||||||
cam_sdi_status,
|
cam_sdi_status,
|
||||||
) = struct.unpack(fmt_str, hk_data[current_idx : current_idx + inc_len])
|
) = struct.unpack(fmt_str, hk_data[current_idx : current_idx + inc_len])
|
||||||
current_idx += inc_len
|
current_idx += inc_len
|
||||||
pw.dlog("Received MPSoC HK")
|
pw.ilog(_LOGGER, "Received MPSoC HK")
|
||||||
pw.dlog(f"Status: {status}")
|
pw.dlog(f"Status: {status}")
|
||||||
pw.dlog(f"Mode: {mode}")
|
pw.dlog(f"Mode: {mode}")
|
||||||
pw.dlog(f"Downlink Power On: {downlink_pwr_on}")
|
pw.dlog(f"Downlink Power On: {downlink_pwr_on}")
|
||||||
@ -576,6 +576,7 @@ def handle_ploc_mpsoc_hk_data(printer: FsfwTmTcPrinter, hk_data: bytes, set_id:
|
|||||||
sysmon_safe_cotr_cur,
|
sysmon_safe_cotr_cur,
|
||||||
sysmon_nvm4_xo_cur,
|
sysmon_nvm4_xo_cur,
|
||||||
) = struct.unpack(fmt_str, hk_data[current_idx : current_idx + inc_len])
|
) = struct.unpack(fmt_str, hk_data[current_idx : current_idx + inc_len])
|
||||||
|
current_idx += inc_len
|
||||||
|
|
||||||
pw.dlog(
|
pw.dlog(
|
||||||
f"SYSMON MB 12V {sysmon_mb_12v:.3f} | SYSMON MB 3V3 {sysmon_mb_3v3:.3f} | "
|
f"SYSMON MB 12V {sysmon_mb_12v:.3f} | SYSMON MB 3V3 {sysmon_mb_3v3:.3f} | "
|
||||||
|
Loading…
Reference in New Issue
Block a user