From 483ebe87ad1d4fe188d77e1e586329bc4c39b28a Mon Sep 17 00:00:00 2001 From: meggert Date: Mon, 13 Feb 2023 15:44:42 +0100 Subject: [PATCH] copy pasta so much fun no errors ever --- eive_tmtc/tmtc/acs/acs_ctrl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eive_tmtc/tmtc/acs/acs_ctrl.py b/eive_tmtc/tmtc/acs/acs_ctrl.py index 92a1843..ce39d4d 100644 --- a/eive_tmtc/tmtc/acs/acs_ctrl.py +++ b/eive_tmtc/tmtc/acs/acs_ctrl.py @@ -668,6 +668,7 @@ def handle_gps_data_processed(pw: PrintWrapper, hk_data: bytes): fmt_vec, hk_data[current_idx : current_idx + inc_len_vec] ) ] + current_idx += inc_len_vec velo = [ f"{val:8.3f}" for val in struct.unpack( @@ -679,7 +680,7 @@ def handle_gps_data_processed(pw: PrintWrapper, hk_data: bytes): pw.dlog(f"GPS Longitude: {long} [rad]") pw.dlog(f"GPS Position: {pos} [m]") pw.dlog(f"GPS Velocity: {velo} [m/s]") - pw.printer.print_validity_buffer(hk_data[current_idx:], num_vars=3) + pw.printer.print_validity_buffer(hk_data[current_idx:], num_vars=4) def handle_mekf_data(pw: PrintWrapper, hk_data: bytes):