Skip to content

Commit

Permalink
changed method name
Browse files Browse the repository at this point in the history
  • Loading branch information
zack0022 authored Mar 17, 2024
1 parent c1e957e commit 3647105
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 @@ -239,7 +239,7 @@ private void climberInst() {
climber = new Climber();
}
private void indexInit() {
indexer = new IndexerSubsystem(intakeExists ? intake::isNoteIn : () -> false);
indexer = new IndexerSubsystem(intakeExists ? intake::isNoteSeen : () -> false);
}
private void indexCommandInst() {
defaulNoteHandlingCommand = new IndexCommand(indexer, ShootIfReadySup, AimWhileMovingSup, shooter, intake, driveTrain, angleShooterSubsystem, HumanPlaySup, StageAngleSup, SubwooferAngleSup, GroundIntakeSup, FarStageAngleSup, OperatorPreRevSup, intakeReverse);
Expand Down Expand Up @@ -540,4 +540,4 @@ public void disabledInit() {
new InstantCommand(angleShooterSubsystem::stop, angleShooterSubsystem);
}
}
}
}

0 comments on commit 3647105

Please sign in to comment.