File tree Expand file tree Collapse file tree
photon-core/src/main/java/org/photonvision/vision/processes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020import java .util .*;
2121import java .util .stream .Collectors ;
22- import org .photonvision .common .dataflow .websocket .UICameraConfiguration ;
2322import org .photonvision .common .logging .LogGroup ;
2423import org .photonvision .common .logging .Logger ;
2524
@@ -83,24 +82,4 @@ private synchronized int newCameraIndex() {
8382
8483 return idx ;
8584 }
86-
87- public static class UiVmmState {
88- public final List <UICameraConfiguration > visionModules ;
89-
90- UiVmmState (List <UICameraConfiguration > _v ) {
91- this .visionModules = _v ;
92- }
93- }
94-
95- public synchronized UiVmmState getState () {
96- return new UiVmmState (
97- this .visionModules .stream ()
98- .map (VisionModule ::toUICameraConfig )
99- .map (
100- it -> {
101- it .calibrations = null ;
102- return it ;
103- })
104- .collect (Collectors .toList ()));
105- }
10685}
You can’t perform that action at this time.
0 commit comments