7.6终
This commit is contained in:
@@ -46,7 +46,6 @@ public class Autocommand extends SequentialCommandGroup {
|
|||||||
superstructure.requestIdleCommand()
|
superstructure.requestIdleCommand()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Command idle(Superstructure superstructure) {
|
public static Command idle(Superstructure superstructure) {
|
||||||
return superstructure.requestIdleCommand();
|
return superstructure.requestIdleCommand();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -237,8 +237,6 @@ public class Superstructure extends SubsystemBase {
|
|||||||
shooter.stopFlywheel();
|
shooter.stopFlywheel();
|
||||||
shooter.stopShooterConveyor();
|
shooter.stopShooterConveyor();
|
||||||
shooter.holdBackboardAt(0.0);
|
shooter.holdBackboardAt(0.0);
|
||||||
intakeRotater.lowerForMatch();
|
|
||||||
|
|
||||||
// Intaker 比赛开始后保持下放,收球何时结束由操作员松开按键决定。
|
// Intaker 比赛开始后保持下放,收球何时结束由操作员松开按键决定。
|
||||||
intakeRoller.intake();
|
intakeRoller.intake();
|
||||||
conveyor.feedToShooter();
|
conveyor.feedToShooter();
|
||||||
@@ -306,7 +304,6 @@ public class Superstructure extends SubsystemBase {
|
|||||||
private void handleEject() {
|
private void handleEject() {
|
||||||
// Eject 反转整条球路,飞轮保持停止。
|
// Eject 反转整条球路,飞轮保持停止。
|
||||||
setSystemState(SystemState.EJECTING);
|
setSystemState(SystemState.EJECTING);
|
||||||
intakeRotater.lowerForMatch();
|
|
||||||
intakeRoller.outtake();
|
intakeRoller.outtake();
|
||||||
conveyor.reverse();
|
conveyor.reverse();
|
||||||
shooter.runShooterConveyor(Constants.Superstructure.shooterReversePercent);
|
shooter.runShooterConveyor(Constants.Superstructure.shooterReversePercent);
|
||||||
|
|||||||
Reference in New Issue
Block a user