Skip to content

Commit

Permalink
Revert "Add checking of current and requested video_mode (#859)"
Browse files Browse the repository at this point in the history
This reverts commit 013ff5e.
  • Loading branch information
srimanachanta committed Jul 20, 2023
1 parent 715ef62 commit 8e6075f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.photonvision.common.configuration.CameraConfiguration;
import org.photonvision.common.logging.LogGroup;
import org.photonvision.common.logging.Logger;
import org.photonvision.common.util.vision.OpenCvUtils;
import org.photonvision.vision.calibration.CameraCalibrationCoefficients;
import org.photonvision.vision.frame.FrameStaticProperties;

Expand Down Expand Up @@ -64,11 +63,6 @@ public void setVideoModeInternal(int index) {
}

public void setVideoMode(VideoMode mode) {
if (OpenCvUtils.videoModeEquals(mode, getCurrentVideoMode())) {
logger.info("Requested video mode is already the current video mode");
return;
}

logger.info(
"Setting video mode to "
+ "FPS: "
Expand Down

0 comments on commit 8e6075f

Please sign in to comment.