From 682b54063dc7e9bbe38e1dcd58f35552e8887daf Mon Sep 17 00:00:00 2001 From: SR1899 Date: Fri, 23 Feb 2024 17:58:13 -0800 Subject: [PATCH] Actually starts and stops intake in the command --- src/main/java/frc/robot/commands/IntakeCommand.java | 2 ++ 1 file changed, 2 insertions(+) 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