mirror of
https://github.com/Team4388/2025RidgeScape.git
synced 2026-06-09 00:38:02 -06:00
Swerve calibration, L2, Autos
This commit is contained in:
@@ -306,6 +306,10 @@ public class Elevator extends Subsystem {
|
||||
} else if (currentState == CoordinationState.Ready) {
|
||||
periodicReady();
|
||||
}
|
||||
|
||||
if(!intakeIR.get()){
|
||||
led.setMode(LEDConstants.DOWN_PATTERN);
|
||||
}
|
||||
// } else if (currentState == CoordinationState.ScoringThree || currentState == CoordinationState.ScoringFour) {
|
||||
// periodicScoring();
|
||||
// }
|
||||
@@ -324,8 +328,8 @@ public class Elevator extends Subsystem {
|
||||
}
|
||||
|
||||
public boolean readyToMove() {
|
||||
// return !intakeIR.get() || hasCoral();
|
||||
return hasCoral();
|
||||
return !intakeIR.get() || hasCoral() || !endeffectorLimitSwitch.get();
|
||||
// return hasCoral();
|
||||
}
|
||||
|
||||
public void armShuffle(){
|
||||
|
||||
Reference in New Issue
Block a user