added deletion of camera image as soon as it is encoded.

pull/132/head
alanbjohnston 5 years ago committed by GitHub
parent f3b72d9500
commit 53ee94f49b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -192,6 +192,7 @@ if __name__ == "__main__":
system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1")
print("Photo taken")
system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/camera_out.jpg")
system("sudo rm /home/pi/CubeSatSim/camera_out.jpg /dev/null 2>&1")
print ("Sending SSTV image")
output(txLed, txLedOn)
if (debug_mode == 1):

Loading…
Cancel
Save

Powered by TurnKey Linux.