Skip to content

Commit

Permalink
Actually starts and stops intake in the command
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Feb 24, 2024
1 parent 33ebb51 commit 682b540
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/commands/IntakeCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -32,6 +33,7 @@ public void execute() {
@Override
public void end(boolean interrupted) {
m_intakeSubsystem.armRetract();
m_intakeSubsystem.stopIntake();
}

@Override
Expand Down

0 comments on commit 682b540

Please sign in to comment.