bug fixed the sync and bug fixed the pipe change from nt

This commit is contained in:
ori agranat
2019-09-29 08:01:00 -07:00
parent b13f145ee6
commit 4e6bd3e75a
2 changed files with 8 additions and 5 deletions

View File

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