mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
added port handling and pipline change sync wth ui
- added port hash map - putting port into hashmap from camera class - added sending port from full settings and camera change - nt pipe change now sends pipe name to ui
This commit is contained in:
@@ -12,11 +12,12 @@ import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class SettingsManager {
|
||||
public static final Path SettingsPath = Paths.get(System.getProperty("user.dir"), "Settings");
|
||||
public static com.chameleonvision.vision.GeneralSettings GeneralSettings;
|
||||
// public static HashMap<String, String> CameraPorts = new HashMap<>();//TODO Implement ports
|
||||
public static HashMap<String, Integer> CameraPorts = new HashMap<>();
|
||||
|
||||
private SettingsManager() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user