d
This commit is contained in:
parent
bf9f16b267
commit
a20b72e460
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
package frc.robot.subsystem;
|
package frc.robot.subsystem;
|
||||||
|
|
||||||
|
import edu.wpi.first.net.PortForwarder;
|
||||||
import edu.wpi.first.networktables.NetworkTable;
|
import edu.wpi.first.networktables.NetworkTable;
|
||||||
import edu.wpi.first.networktables.NetworkTableEntry;
|
import edu.wpi.first.networktables.NetworkTableEntry;
|
||||||
import edu.wpi.first.networktables.NetworkTableInstance;
|
import edu.wpi.first.networktables.NetworkTableInstance;
|
||||||
@ -22,7 +23,9 @@ public class Limelight extends SubsystemBase {
|
|||||||
|
|
||||||
/** Creates a new Limelight. */
|
/** Creates a new Limelight. */
|
||||||
public Limelight() {
|
public Limelight() {
|
||||||
|
for (int port = 5800; port <= 5807; port++) {
|
||||||
|
PortForwarder.add(port, "limelight.local", port);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getx(){
|
public double getx(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user