From 3bc433aa76f1765b248a59d4eb9bf459204d4342 Mon Sep 17 00:00:00 2001 From: Rowan Flood <121908273+rflood07@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:59:15 -0600 Subject: [PATCH] changed names of methods --- src/main/java/frc/robot/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 0227631b..4077ee9e 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -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)));} }