Update transmit.py add str() to print

fc-jy-img
Alan Johnston 11 months ago committed by GitHub
parent 6236ed301d
commit 1ee36692d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -787,7 +787,7 @@ if __name__ == "__main__":
system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1") system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1")
print("Photo taken") print("Photo taken")
system("/home/pi/ssdv/ssdv -e -c CALLSIGN -i " + str(image_index) + " -q 3 -J camera_out.jpg /home/pi/CubeSatSim/image_file.bin") system("/home/pi/ssdv/ssdv -e -c CALLSIGN -i " + str(image_index) + " -q 3 -J camera_out.jpg /home/pi/CubeSatSim/image_file.bin")
print("image_index " + image_index + "\n") print("image_index " + str(image_index) + "\n")
image_index = ( index_image + 1 ) % 256 image_index = ( index_image + 1 ) % 256
sleep(2) sleep(2)
else: else:

Loading…
Cancel
Save

Powered by TurnKey Linux.