This commit is contained in:
samuel desharnais 2022-11-16 19:45:54 -05:00
parent f6a8e93dd1
commit 7e5635995c

View File

@ -5,17 +5,22 @@
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Pistonshaker;
public class Acctivershaker extends CommandBase {
private Pistonshaker pistonshaker;
/** Creates a new Acctivershaker. */
public Acctivershaker() {
public Acctivershaker(Pistonshaker pistonshaker) {
this.pistonshaker = pistonshaker;
// Use addRequirements() here to declare subsystem dependencies.
addRequirements(pistonshaker);
}
// Called when the command is initially scheduled.
@Override
public void initialize() {
}
// Called every time the scheduler runs while the command is scheduled.