From 70e9699d012858f778b2749ed9cded89ac329502 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 17 Jul 2026 00:19:42 -0400 Subject: [PATCH] Update transmit.py initialize tx_doppler_start for repeater --- transmit.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/transmit.py b/transmit.py index b1e1dae2..ce1d3529 100644 --- a/transmit.py +++ b/transmit.py @@ -932,17 +932,17 @@ if __name__ == "__main__": # if (mode != 'e'): program_fm(rx,tx,rxpl_value,sq,txpl_value) - if (doppler_mode == True): - if (mode == 'e'): - tx_doppler_start_hz = txrf * 1e6 - else: - tx_doppler_start_hz = txf * 1e6 - tx_doppler_shift_hz = 0 - print(f"Tx center frequency: {tx_doppler_start_hz}") - rx_doppler_start_hz = rxf * 1e6 - rx_doppler_shift_hz = 0 - print(f"Rx center frequency: {rx_doppler_start_hz}") - + if (mode == 'e'): + tx_doppler_start_hz = txrf * 1e6 + else: + tx_doppler_start_hz = txf * 1e6 + tx_doppler_shift_hz = 0 + print(f"Tx center frequency: {tx_doppler_start_hz}") + rx_doppler_start_hz = rxf * 1e6 + rx_doppler_shift_hz = 0 + print(f"Rx center frequency: {rx_doppler_start_hz}") + + if (doppler_mode == True): TARGET_PASS = 85 # Maximum elevation profile doppler_table = iss_doppler_passes[TARGET_PASS]