fixed star tracker bug #168

Merged
muellerr merged 3 commits from zink_startracker into main 2023-03-13 10:57:04 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ def handle_solution_set(hk_data: bytes, pw: PrintWrapper):
is_trusworthy = hk_data[current_idx]
pw.dlog(f"Trustworthy solution: {is_trusworthy}")
current_idx += 1
stable_count = struct.unpack("!I", hk_data[current_idx : current_idx + 4])
stable_count = struct.unpack("!I", hk_data[current_idx: current_idx + 4])[0]
pw.dlog(f"Stable count: {stable_count}")
current_idx += 4
solution_strategy = hk_data[current_idx]