From 3e4ae050fdbc98784b6b5f2517ababef6fa6d28e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 5 Jul 2026 11:41:58 -0400 Subject: [PATCH] Update transmit.py add kills --- transmit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/transmit.py b/transmit.py index 2828cd06..48330c83 100644 --- a/transmit.py +++ b/transmit.py @@ -623,11 +623,15 @@ def transmit_carrier(duration): # 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) output(txLed, 0) + system(killrpitx) + system(killtune) print("CubeSatSim v2.2 transmit.py starting...")