From 7e5635995cb7c6ab97a24ddcc5789d99b5af985e Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 16 Nov 2022 19:45:54 -0500 Subject: [PATCH] qwer --- src/main/java/frc/robot/commands/Acctivershaker.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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.