diff --git a/src/main/java/frc/robot/commands/Acctivershaker.java b/src/main/java/frc/robot/commands/Acctivershaker.java index 12d2dd8..253679a 100644 --- a/src/main/java/frc/robot/commands/Acctivershaker.java +++ b/src/main/java/frc/robot/commands/Acctivershaker.java @@ -20,7 +20,7 @@ public class Acctivershaker extends CommandBase { // Called when the command is initially scheduled. @Override public void initialize() { - + pistonshaker.sortirpiston(); } // Called every time the scheduler runs while the command is scheduled. @@ -29,7 +29,9 @@ public class Acctivershaker extends CommandBase { // Called once the command ends or is interrupted. @Override - public void end(boolean interrupted) {} + public void end(boolean interrupted) { + pistonshaker.rentrerpiston(); + } // Returns true when the command should end. @Override