diff --git a/src/main/java/frc/robot/commands/Acctivershaker.java b/src/main/java/frc/robot/commands/Acctivershaker.java index 0cec6fd..12d2dd8 100644 --- a/src/main/java/frc/robot/commands/Acctivershaker.java +++ b/src/main/java/frc/robot/commands/Acctivershaker.java @@ -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.