dashboard + limitswitchs tourel

This commit is contained in:
2024-11-25 18:32:18 -05:00
parent 899f8f3bf6
commit 03bf04f40e
7 changed files with 75 additions and 21 deletions

View File

@ -21,8 +21,10 @@ public class Limelight3G extends SubsystemBase {
NetworkTableEntry tv = table.getEntry("tv");
NetworkTableEntry camMode = table.getEntry("camMode");
NetworkTableEntry tid = table.getEntry("tid");
/** Creates a new Limelight. */
public Limelight3G() {
dashboard.addDouble("tv", this::getv).withSize(0, 0).withPosition(1,3);
for (int port = 5800; port <= 5807; port++) {
PortForwarder.add(port, "limelight.local", port);
}}