Guarantee cameras always have the same ports (#123)

* Guarantee cameras always have the same ports

* clean up cscore stuff

* Fix stream api abuse
This commit is contained in:
Matt
2020-09-15 19:00:26 -07:00
committed by GitHub
parent 44bfc3ea6c
commit 24132555b8
4 changed files with 136 additions and 17 deletions

View File

@@ -52,6 +52,8 @@ public class CameraConfiguration {
public int currentPipelineIndex = 0;
public Rotation2d camPitch = new Rotation2d();
public int streamIndex = 0; // 0 index means ports [1181, 1182], 1 means [1183, 1184], etc...
@JsonIgnore // this ignores the pipes as we serialize them to their own subfolder
public List<CVPipelineSettings> pipelineSettings = new ArrayList<>();