From 2cd07c5f76e10694e1e4e99d4be41f6719f21ee9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 18 Jun 2026 09:43:38 -0400 Subject: [PATCH] Update transmit.py fix doppler freq --- transmit.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/transmit.py b/transmit.py index d0de724f..a0135477 100644 --- a/transmit.py +++ b/transmit.py @@ -964,12 +964,13 @@ if __name__ == "__main__": print("Ready to detect carrier") start_time = time.perf_counter() - doppler_start_hz = txrf * 1e6 - doppler_freq_hz = txrf * 1e6 - print(doppler_start_hz) + tx_doppler_start_hz = txrf * 1e6 + tx_doppler_shift_hz = 0 + print(tx_doppler_start_hz + tx_doppler_shift_hz) while True: if (input(squelch) == False) and (command_tx == True): - doppler_freq_hz = doppler_start_hz + (time.perf_counter() - start_time) * 60 + doppler_shift_hz = (time.perf_counter() - start_time) * 60 + doppler_freq_hz = doppler_start_hz + doppler_shift_hz print(doppler_freq_hz) txr = "{:.3f}".format(doppler_freq_hz/1000) print(txr)