Update fc_block_decode.py print output of ssdv

fc-fctelem
Alan Johnston 1 year ago committed by GitHub
parent c14e9689b5
commit c94635407b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,7 +62,10 @@ if __name__ == "__main__":
print("File error")
try:
filename = "image_file" + str(image_count) + "." + str(image_index) + ".jpeg"
system("/home/pi/ssdv/ssdv -d -J image_file " + filename)
# system("/home/pi/ssdv/ssdv -d -J image_file " + filename)
process = subprocess.run(["/home/pi/ssdv/ssdv","-d","-J", image_file, filename], text=True)
print("\n\n RESULT: \n")
print(process)
system("sudo cp " + filename + " /home/pi/CubeSatSim/groundstation/public_html/image_file.jpeg")
# image = Image.open("image_file" + str(image_count) + "." + str(image_index) + ".jpeg")
# image.show()

Loading…
Cancel
Save

Powered by TurnKey Linux.