STR hk handling fix
This commit is contained in:
@ -689,6 +689,9 @@ def handle_str_hk_data(set_id: int, hk_data: bytes, printer: FsfwTmTcPrinter):
|
||||
|
||||
def handle_solution_set(hk_data: bytes, pw: PrintWrapper):
|
||||
pw.dlog("Received solution set")
|
||||
if len(hk_data) < 78:
|
||||
_LOGGER.warning(f"Solution dataset HK data with length {len(hk_data)} too short")
|
||||
return
|
||||
ticks_time_fmt = "!IQ"
|
||||
current_idx = 0
|
||||
fmt_len = struct.calcsize(ticks_time_fmt)
|
||||
@ -732,7 +735,7 @@ def handle_solution_set(hk_data: bytes, pw: PrintWrapper):
|
||||
current_idx += 1
|
||||
# Result of LISA: Lost in space algorithm
|
||||
lisa_fmt = "!fffffB"
|
||||
fmt_len = struct.calcsize(track_fmt)
|
||||
fmt_len = struct.calcsize(lisa_fmt)
|
||||
(
|
||||
lisa_q_w,
|
||||
lisa_q_x,
|
||||
|
Reference in New Issue
Block a user