initial pipeline update

This commit is contained in:
ori agranat
2019-09-29 17:39:58 +03:00
parent 1548d3aa14
commit b13f145ee6
4 changed files with 22 additions and 7 deletions

View File

@@ -103,7 +103,8 @@ public class ServerHandler {
var pipelineNumber = Integer.parseInt(newPipeline.replace("pipeline", ""));
System.out.printf("Changing pipeline to %s\n", newPipeline);
CameraManager.setCurrentPipeline(pipelineNumber);
// broadcastMessage(allFieldsToMap(CameraManager.getCurrentPipeline()));
var Proccess = CameraManager.getCurrentCameraProcess();
Proccess.ntPipelineEntry.setString(newPipeline);
broadcastMessage(allFieldsToMap(CameraManager.getCurrentPipeline()));
break;