From ad2343551aed1af40cbf76ca771aeac1f634b5c7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 6 Jul 2026 11:22:10 -0400 Subject: [PATCH] Update transmit.py back to tune timeout --- transmit.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/transmit.py b/transmit.py index 48330c83..c770e391 100644 --- a/transmit.py +++ b/transmit.py @@ -620,18 +620,19 @@ def cw_transmit_char(character): def transmit_carrier(duration): global tx_doppler_freq_hz global txLed -# command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 + command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 start = "sudo tune -f " + str(tx_doppler_freq_hz) + " &" # + " & > /dev/null 2>&1" # 434.9e6 stop = "sudo rpitx -f 434.9e6 &" killrpitx = "sudo killall -9 rpitx &" killtune = "sudo killall -9 tune &" output(txLed, 1) - system(start) - sleep(duration) - system(stop) +# system(start) + system(command) +# sleep(duration) +# system(stop) output(txLed, 0) - system(killrpitx) - system(killtune) +# system(killrpitx) +# system(killtune) print("CubeSatSim v2.2 transmit.py starting...")