Update transmit.py show different times

fc-8
Alan Johnston 10 months ago committed by GitHub
parent efdc1ed17f
commit cef752add7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -827,15 +827,17 @@ if __name__ == "__main__":
# if (image_present == False):
start = time.perf_counter()
camera_photo()
print(time.perf_counter() - start)
## system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1")
## print("Photo taken")
print(time.perf_counter() - start)
system("/home/pi/ssdv/ssdv -e -n -i " + str(image_id) + " -q 3 -J /home/pi/CubeSatSim/camera_out.jpg /home/pi/CubeSatSim/image_file.bin")
print("image_id: " + str(image_id) + "\n")
image_id = ( image_id + 1 ) % 256
print("new image_id: " + str(image_id) + "\n")
print("Elapsed time: ")
print(time.perf_counter() - start)
sleep(0.5)
# sleep(0.5)
# else:
sleep(0.6)
elif (mode == 'e'): # code based on https://zr6aic.blogspot.com/2016/11/creating-2m-fm-repeater-with-raspberry.html

Loading…
Cancel
Save

Powered by TurnKey Linux.