qwer
This commit is contained in:
parent
f6a8e93dd1
commit
7e5635995c
@ -5,13 +5,18 @@
|
|||||||
package frc.robot.commands;
|
package frc.robot.commands;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||||
|
import frc.robot.subsystems.Pistonshaker;
|
||||||
|
|
||||||
public class Acctivershaker extends CommandBase {
|
public class Acctivershaker extends CommandBase {
|
||||||
|
private Pistonshaker pistonshaker;
|
||||||
/** Creates a new Acctivershaker. */
|
/** Creates a new Acctivershaker. */
|
||||||
public Acctivershaker() {
|
public Acctivershaker(Pistonshaker pistonshaker) {
|
||||||
|
this.pistonshaker = pistonshaker;
|
||||||
// Use addRequirements() here to declare subsystem dependencies.
|
// Use addRequirements() here to declare subsystem dependencies.
|
||||||
|
addRequirements(pistonshaker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Called when the command is initially scheduled.
|
// Called when the command is initially scheduled.
|
||||||
@Override
|
@Override
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user