diff --git a/src/main/java/frc/robot/commands/IntakeCommand.java b/src/main/java/frc/robot/commands/IntakeCommand.java index 3e0813d..fb9d504 100644 --- a/src/main/java/frc/robot/commands/IntakeCommand.java +++ b/src/main/java/frc/robot/commands/IntakeCommand.java @@ -20,6 +20,7 @@ public IntakeCommand(IntakeSubsystem subsystem) { @Override public void initialize() { m_intakeSubsystem.armExtend(); + m_intakeSubsystem.intake(); } // Called every time the scheduler runs while the command is scheduled. @@ -32,6 +33,7 @@ public void execute() { @Override public void end(boolean interrupted) { m_intakeSubsystem.armRetract(); + m_intakeSubsystem.stopIntake(); } @Override