Skip to content

Commit

Permalink
override fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Sep 22, 2024
1 parent 21fe025 commit 59b5517
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public ArduOV9782CameraSettables(CameraConfiguration configuration, UsbCamera ca
whiteBalanceTemperature = 3500;
}

@Override
public void setAllCamDefaults() {
softSet("power_line_frequency", 2); // Assume 60Hz USA
softSet("exposure_metering_mode", 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void setExposureRaw(double exposureRaw) {
}
}

@Override
public void setAutoExposure(boolean cameraAutoExposure) {
logger.debug("Setting auto exposure to " + cameraAutoExposure);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public PsEyeCameraSettables(CameraConfiguration configuration, UsbCamera camera)
super(configuration, camera);
}

@Override
public void setAutoExposure(boolean cameraAutoExposure) {
logger.debug("Setting auto exposure to " + cameraAutoExposure);

Expand All @@ -42,6 +43,7 @@ public void setAutoExposure(boolean cameraAutoExposure) {
}
}

@Override
public void setAllCamDefaults() {
// Common settings for all cameras to attempt to get their image
// as close as possible to what we want for image processing
Expand Down

0 comments on commit 59b5517

Please sign in to comment.