Update transmit.py initialize tx_doppler_start for repeater

master-bf-pre3
Alan Johnston 5 days ago committed by GitHub
parent 5fd5ec7560
commit 70e9699d01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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]

Loading…
Cancel
Save

Powered by TurnKey Linux.