Driver Mode fixes

This commit is contained in:
Banks Troutman
2019-11-30 20:31:55 -05:00
parent 92974c0cf1
commit fcafd9d6e2
5 changed files with 17 additions and 22 deletions

View File

@@ -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) {