Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
commit
d7d432bc4d
@ -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() {
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user