Config fixes, add JUnit maven dependency, potential fix for stream latency

This commit is contained in:
Banks Troutman
2019-11-27 14:59:36 -05:00
parent e195cce026
commit 6b5bd75dbe
15 changed files with 110 additions and 62 deletions

View File

@@ -147,7 +147,8 @@ public class ServerHandler {
break;
case "save":
ConfigManager.saveGeneralSettings();
System.out.println("saved Settings");
VisionManager.saveAllCameras();
System.out.println("Saved Settings");
break;
}
// used to define all incoming commands
@@ -168,9 +169,11 @@ public class ServerHandler {
switch (entry.getKey()) {
case "exposure": {
currentCamera.setExposure((Integer) entry.getValue());
VisionManager.saveCurrentCameraPipelines();
}
case "brightness": {
currentCamera.setBrightness((Integer) entry.getValue());
VisionManager.saveCurrentCameraPipelines();
}
}
break;