From 3d34d1ca400231e333ef447615ad995c07f4b21f Mon Sep 17 00:00:00 2001 From: Declan Freeman-Gleason Date: Sun, 10 Jan 2021 21:35:04 -0800 Subject: [PATCH] Remove 1280x720 on the Pi Camera v1 for now (#228) --- .../org/photonvision/vision/camera/ZeroCopyPicamSource.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/photon-server/src/main/java/org/photonvision/vision/camera/ZeroCopyPicamSource.java b/photon-server/src/main/java/org/photonvision/vision/camera/ZeroCopyPicamSource.java index 5ffa593f1e..ea766793c0 100644 --- a/photon-server/src/main/java/org/photonvision/vision/camera/ZeroCopyPicamSource.java +++ b/photon-server/src/main/java/org/photonvision/vision/camera/ZeroCopyPicamSource.java @@ -99,8 +99,7 @@ public PicamSettables(CameraConfiguration configuration) { 0, new FPSRatedVideoMode(VideoMode.PixelFormat.kUnknown, 320, 240, 120, 120, .39)); videoModes.put( 1, new FPSRatedVideoMode(VideoMode.PixelFormat.kUnknown, 640, 480, 65, 90, .39)); - videoModes.put( - 2, new FPSRatedVideoMode(VideoMode.PixelFormat.kUnknown, 1280, 720, 40, 90, .72)); + // TODO: fix 1280x720 in the native code and re-add it videoModes.put( 3, new FPSRatedVideoMode(VideoMode.PixelFormat.kUnknown, 1920, 1080, 15, 20, .53)); } else {