|
|
|
|
@ -932,6 +932,8 @@ 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:
|
|
|
|
|
@ -942,7 +944,6 @@ if __name__ == "__main__":
|
|
|
|
|
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]
|
|
|
|
|
@ -1440,7 +1441,7 @@ if __name__ == "__main__":
|
|
|
|
|
update_doppler()
|
|
|
|
|
start_repeater(tx_doppler_freq_hz)
|
|
|
|
|
else:
|
|
|
|
|
start_repeater(txr)
|
|
|
|
|
start_repeater(txrf * 1e6)
|
|
|
|
|
while (input(squelch) == False):
|
|
|
|
|
sleep(1)
|
|
|
|
|
print("No carrier detected")
|
|
|
|
|
|