From 1201257979c2d5ccc4d2d6b91920833b3224f434 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 27 Apr 2023 09:31:49 -0400 Subject: [PATCH] take higher resolution image --- rpitx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index d0368c75..2326ef3c 100644 --- a/rpitx.py +++ b/rpitx.py @@ -238,7 +238,7 @@ if __name__ == "__main__": system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256") # > /dev/null 2>&1") # current_time = time.strftime("%H;%M;%S", time.localtime()) current_time = time.strftime("%m-%d-%H%M%S", time.localtime()) - system("cp /home/pi/CubeSatSim/camera_out.jpg " + "/home/pi/payload/img"+current_time+".jpg") + system("raspistill -o " + "/home/pi/payload/img"+current_time+".jpg") print("Photo taken") system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/camera_out.jpg") system("sudo rm /home/pi/CubeSatSim/camera_out.jpg > /dev/null 2>&1")