Update transmit.py add more prints

fc-7
Alan Johnston 10 months ago committed by GitHub
parent aa72ecbef4
commit 2b7829ad2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -141,7 +141,9 @@ def camera_photo():
system("sudo rm /home/pi/CubeSatSim/camera_out.jpg") system("sudo rm /home/pi/CubeSatSim/camera_out.jpg")
stored_image = False stored_image = False
try: try:
print(time.perf_counter() - start)
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(time.perf_counter() - start)
f = open("/home/pi/CubeSatSim/camera_out.jpg") f = open("/home/pi/CubeSatSim/camera_out.jpg")
f.close() f.close()
print("Photo taken") print("Photo taken")

Loading…
Cancel
Save

Powered by TurnKey Linux.