Skip to content

Commit

Permalink
Intake Button Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
qdtroemner committed Oct 7, 2021
1 parent d6cd10e commit 807bfab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private void configureButtonBindings() {
logitecLeftTrigger.whenReleased(new RetractIntake(intake));

//Run intake rollers and ball feed to pickup balls regardles of intake position
logitecLeftBumper.whileHeld(new RunIntakeAndBallFeed(intake, ballFeed, .61, .75));// Speeds as previously determined
logitecLeftBumper.whenHeld(new RunIntakeAndBallFeed(intake, ballFeed, .61, .75), true);// Speeds as previously determined

//Raise or lower the climber hook with up and down D-pad buttons. Move while pressed, stop when released.
//Allows operator to position the climber hook on the bar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public void execute() {
// Called once the command ends or is interrupted.
@Override
public void end(boolean interrupted) {

}

// Returns true when the command should end.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void execute() {
// Called once the command ends or is interrupted.
@Override
public void end(boolean interrupted) {

intake.stopIntake();
ballFeed.stopBallFeedMotor();
}
Expand Down

0 comments on commit 807bfab

Please sign in to comment.