From def9cad9fc6538f724c267403bc9a829b5ac9c9f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 6 Feb 2025 16:29:41 -0500 Subject: [PATCH] Update fc_block_decode.py copy bin file --- groundstation/fc_block_decode.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 660c8b4f..8d52f7d5 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -61,9 +61,10 @@ if __name__ == "__main__": print("File error") else: print("End of image") -# system("sudo mv image_file image_file" + str(image_count)) - system("home/pi/ssdv/ssdv -d -J image_file image_file" + str(image_count) + ".jpeg") - system("sudo rm image_file") + + system("/home/pi/ssdv/ssdv -d -J image_file image_file" + str(image_count) + ".jpeg") +# system("sudo rm image_file") + system("sudo mv image_file image_file" + str(image_count)) print("Image count: ") print(image_count) image_count = (image_count + 1) % 256