Update frequency.py add modulo 37

master-bd
Alan Johnston 3 weeks ago committed by GitHub
parent f09a9459ca
commit bcef0c8d0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}")

Loading…
Cancel
Save

Powered by TurnKey Linux.