From 24fb6af5f47f4d7345d04ebbb8f446be5f7c8480 Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Sun, 15 Sep 2024 22:40:27 -0500 Subject: [PATCH] Fix setting gain to max on cameras that don't have a gain quirk (#1424) --- .../java/org/photonvision/vision/processes/VisionModule.java | 1 - 1 file changed, 1 deletion(-) diff --git a/photon-core/src/main/java/org/photonvision/vision/processes/VisionModule.java b/photon-core/src/main/java/org/photonvision/vision/processes/VisionModule.java index 02c66393b7..e5adc484c4 100644 --- a/photon-core/src/main/java/org/photonvision/vision/processes/VisionModule.java +++ b/photon-core/src/main/java/org/photonvision/vision/processes/VisionModule.java @@ -407,7 +407,6 @@ boolean setPipeline(int index) { visionSource.getSettables().setVideoModeInternal(pipelineSettings.cameraVideoModeIndex); visionSource.getSettables().setBrightness(pipelineSettings.cameraBrightness); - visionSource.getSettables().setGain(pipelineSettings.cameraGain); // If manual exposure, force exposure slider to be valid if (!pipelineSettings.cameraAutoExposure) {