diff --git a/eive_tmtc/tmtc/acs/imtq.py b/eive_tmtc/tmtc/acs/imtq.py index 6c13a03..710a608 100644 --- a/eive_tmtc/tmtc/acs/imtq.py +++ b/eive_tmtc/tmtc/acs/imtq.py @@ -463,7 +463,7 @@ def handle_dipole_set(printer: FsfwTmTcPrinter, hk_data: bytes): fmt_str = "!hhhH" fmt_len = struct.calcsize(fmt_str) (dipole_x, dipole_y, dipole_z, current_torque_duration) = struct.unpack( - fmt_str, hk_data + fmt_str, hk_data[0:8] ) pw.dlog(f"Dipole X: {dipole_x}") pw.dlog(f"Dipole Y: {dipole_y}")