File tree Expand file tree Collapse file tree
photon-core/src/main/java/org/photonvision/vision/camera/USBCameras Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,9 +170,11 @@ public void setAutoWhiteBalance(boolean autoWB) {
170170 @ Override
171171 public void setAutoExposure (boolean cameraAutoExposure ) {
172172 if ((configuration .cameraQuirks .hasQuirk (CameraQuirk .ArduOV9281Controls )
173- || configuration .cameraQuirks .hasQuirk (CameraQuirk .ArduOV9782Controls ))
173+ || configuration .cameraQuirks .hasQuirk (CameraQuirk .ArduOV9782Controls )
174+ || configuration .cameraQuirks .hasQuirk (CameraQuirk .ArduOV2311Controls ))
174175 && !cameraAutoExposure ) {
175- // OV9281 and OV9782 on Linux seems to sometimes ignore our exposure requests on first boot if
176+ // OV9281, OV9782, and OV2311 on Linux seems to sometimes ignore our exposure requests on
177+ // first boot if
176178 // we're in manual mode. Poking the camera into and out of auto exposure seems to fix it.
177179 try {
178180 setAutoExposureImpl (false );
You can’t perform that action at this time.
0 commit comments