This commit is contained in:
samuel desharnais 2024-02-21 19:59:21 -05:00
parent bf9f16b267
commit a20b72e460

View File

@ -4,6 +4,7 @@
package frc.robot.subsystem;
import edu.wpi.first.net.PortForwarder;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableEntry;
import edu.wpi.first.networktables.NetworkTableInstance;
@ -22,7 +23,9 @@ public class Limelight extends SubsystemBase {
/** Creates a new Limelight. */
public Limelight() {
for (int port = 5800; port <= 5807; port++) {
PortForwarder.add(port, "limelight.local", port);
}
}
public double getx(){