This commit is contained in:
Olivier Dubois 2024-02-22 19:29:23 -05:00
commit d7d432bc4d
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ public class Accumulateur extends SubsystemBase {
public boolean limitswitch(){ public boolean limitswitch(){
return !photocellacc.get(); return photocellacc.get();
} }
public Accumulateur() { public Accumulateur() {

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);