Skip to content

Commit

Permalink
changed names of methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rflood07 authored Jan 30, 2024
1 parent eef468d commit 3bc433a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ private void registerNamedCommands() {

if(shooterExists) {NamedCommands.registerCommand("shooterOn", new InstantCommand(()->shooter.shootThing(1), shooter));

NamedCommands.registerCommand("stopFeedingShooter", new InstantCommand(indexer::feederOff, indexer));}
if(indexerExists) {NamedCommands.registerCommand("feedShooter", new InstantCommand(()->indexer.feederFeed(0.5), indexer));}
NamedCommands.registerCommand("stopFeedingShooter", new InstantCommand(indexer::off, indexer));}
if(indexerExists) {NamedCommands.registerCommand("feedShooter", new InstantCommand(indexer::on, indexer));}
if(intakeExists) {NamedCommands.registerCommand("autoPickup", new CollectNote(driveTrain, limelight));
NamedCommands.registerCommand("intakeOn", new InstantCommand(()-> intake.intakeYes(1)));}
}
Expand Down

0 comments on commit 3bc433a

Please sign in to comment.