mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Allow resolution change to take effect without restarting CameraProcess
This commit is contained in:
@@ -48,10 +48,6 @@ public class CameraProcess implements Runnable {
|
||||
private Scalar contourRectColor = new Scalar(255, 0, 0);
|
||||
private long TimeStamp = 0;
|
||||
|
||||
public void restartProcess() {
|
||||
// TODO: Restart process and re-create cvPublish for new resolution
|
||||
}
|
||||
|
||||
private void DriverModeListener(EntryNotification entryNotification) {
|
||||
if (entryNotification.value.getBoolean()) {
|
||||
camera.setExposure(25);
|
||||
|
||||
Reference in New Issue
Block a user