This commit is contained in:
Antoine PerreaultE 2024-02-22 18:43:14 -05:00
parent 7caa85a8dd
commit 158fe62aa6

View File

@ -24,12 +24,12 @@ public class Limelight extends SubsystemBase {
/** Creates a new Limelight. */ /** Creates a new Limelight. */
public Limelight() { public Limelight() {
for (int port = 5800; port <= 5807; port++) { for (int port = 5800; port <= 5807; port++) {
PortForwarder.add(port, "limelight.local", port); PortForwarder.add(port, "limelight.local", port);
} }
} }
public double getx(){ public double getx(){
return tx.getDouble(0); return tx.getDouble(0);
} }
public double gety(){ public double gety(){
return ty.getDouble(0); return ty.getDouble(0);