|
|
|
|
@ -212,7 +212,7 @@ if __name__ == "__main__":
|
|
|
|
|
system("sudo rm /home/pi/CubeSatSim/camera_out.jpg > /dev/null 2>&1")
|
|
|
|
|
print ("Sending SSTV image")
|
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
|
system("cat aplay /home/pi/CubeSatSim/camera_out.jpg.wav")
|
|
|
|
|
system("cat aplay /home/pi/CubeSatSim/camera_out.jpg.wav")
|
|
|
|
|
|
|
|
|
|
# if (debug_mode == 1):
|
|
|
|
|
# system("cat /home/pi/CubeSatSim/camera_out.jpg.wav | csdr convert_i16_f | csdr gain_ff 14000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3")
|
|
|
|
|
@ -228,7 +228,7 @@ if __name__ == "__main__":
|
|
|
|
|
system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg")
|
|
|
|
|
print ("Sending SSTV image")
|
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
|
system("cat aplay /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg.wav")
|
|
|
|
|
system("cat aplay /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg.wav")
|
|
|
|
|
# if (debug_mode == 1):
|
|
|
|
|
# system("cat /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg.wav | csdr convert_i16_f | csdr gain_ff 14000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3")
|
|
|
|
|
# else:
|
|
|
|
|
|