Merge pull request 'fixed star tracker bug' (#168) from zink_startracker into main
Reviewed-on: #168
This commit is contained in:
commit
0ebb237787
@ -781,7 +781,7 @@ def handle_solution_set(hk_data: bytes, pw: PrintWrapper):
|
|||||||
is_trusworthy = hk_data[current_idx]
|
is_trusworthy = hk_data[current_idx]
|
||||||
pw.dlog(f"Trustworthy solution: {is_trusworthy}")
|
pw.dlog(f"Trustworthy solution: {is_trusworthy}")
|
||||||
current_idx += 1
|
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}")
|
pw.dlog(f"Stable count: {stable_count}")
|
||||||
current_idx += 4
|
current_idx += 4
|
||||||
solution_strategy = hk_data[current_idx]
|
solution_strategy = hk_data[current_idx]
|
||||||
|
Loading…
Reference in New Issue
Block a user