Update transmit.py fix sudo rm

master-bf
Alan Johnston 2 days ago committed by GitHub
parent da9efd852e
commit beb2d07720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1166,7 +1166,7 @@ if __name__ == "__main__":
f.close() f.close()
if (debug_mode == 1): if (debug_mode == 1):
print("Packet ready!") print("Packet ready!")
system("sudo rm home/pi/CubeSatSim/t.txt") system("sudo rm /home/pi/CubeSatSim/t.txt")
system("gen_packets -o /home/pi/CubeSatSim/telem.wav /home/pi/CubeSatSim/t.txt -r 48000 > /dev/null 2>&1") system("gen_packets -o /home/pi/CubeSatSim/telem.wav /home/pi/CubeSatSim/t.txt -r 48000 > /dev/null 2>&1")
system("cat /home/pi/CubeSatSim/t.txt") system("cat /home/pi/CubeSatSim/t.txt")
if (command_tx == True): if (command_tx == True):

Loading…
Cancel
Save

Powered by TurnKey Linux.