From bcef0c8d0a6efa0eaee6f227cbf467ac1646ab7c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 2 Jul 2026 17:05:16 -0400 Subject: [PATCH] Update frequency.py add modulo 37 --- frequency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frequency.py b/frequency.py index 349d545e..1a038230 100644 --- a/frequency.py +++ b/frequency.py @@ -389,7 +389,7 @@ if (doppler_mode == 'sim'): current_index = 0; while True: relative_time = (time.perf_counter() - start_time) % 370 - index = int(relative_time/10) + index = int(relative_time/10) % 37 if (index > current_index): current_index = index print(f"relative time: {relative_time:.1f} seconds after AOS is index: {index}")