|
|
|
@ -177,7 +177,7 @@ if __name__ == "__main__":
|
|
|
|
# from pysstv.sstv import SSTV
|
|
|
|
# from pysstv.sstv import SSTV
|
|
|
|
# camera = PiCamera()
|
|
|
|
# camera = PiCamera()
|
|
|
|
print("Testing for camera")
|
|
|
|
print("Testing for camera")
|
|
|
|
system("raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256")
|
|
|
|
system("timeout 10 raspistill -o /home/pi/CubeSatSim/camera_out.jpg -w 320 -h 256")
|
|
|
|
f = open("/home/pi/CubeSatSim/camera_out.jpg")
|
|
|
|
f = open("/home/pi/CubeSatSim/camera_out.jpg")
|
|
|
|
print("Camera present")
|
|
|
|
print("Camera present")
|
|
|
|
camera_present = 1
|
|
|
|
camera_present = 1
|
|
|
|
|