thats a large set
This commit is contained in:
@ -462,12 +462,9 @@ def handle_dipole_set(printer: FsfwTmTcPrinter, hk_data: bytes):
|
||||
pw.dlog("Received iMTQ dipole set")
|
||||
fmt_str = "!hhhH"
|
||||
fmt_len = struct.calcsize(fmt_str)
|
||||
(
|
||||
dipole_x,
|
||||
dipole_y,
|
||||
dipole_z,
|
||||
current_torque_duration
|
||||
) = struct.unpack(fmt_str, hk_data)
|
||||
(dipole_x, dipole_y, dipole_z, current_torque_duration) = struct.unpack(
|
||||
fmt_str, hk_data
|
||||
)
|
||||
pw.dlog(f"Dipole X: {dipole_x}")
|
||||
pw.dlog(f"Dipole Y: {dipole_y}")
|
||||
pw.dlog(f"Dipole Z: {dipole_z}")
|
||||
|
Reference in New Issue
Block a user