mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Driver Mode fixes
This commit is contained in:
@@ -91,10 +91,10 @@ public class VisionProcess {
|
||||
initNT(newTable);
|
||||
}
|
||||
|
||||
public void setCameraName(String newName) {
|
||||
public void setCameraNickname(String newName) {
|
||||
getCamera().getProperties().setNickname(newName);
|
||||
var newTable = NetworkTableInstance.getDefault().getTable("/chameleon-vision/" + newName);
|
||||
resetNT(newTable);
|
||||
pipelineManager.ntIndexEntry = ntPipelineEntry;
|
||||
}
|
||||
|
||||
private void initNT(NetworkTable newTable) {
|
||||
|
||||
Reference in New Issue
Block a user