Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public final class Constants {
public static final double INDEXER_HUMAN_LOADING_WAIT = 1;

public static final double INDEXER_SHOOTER_REJECTION_TIME = 0.5;
public static final double INDEXER_INTAKE_REJECTION_TIME = 1;
public static final double INDEXER_INTAKE_REJECTION_TIME = 0.5;

public static final I2C.Port INDEXER_COLOR = I2C.Port.kMXP;
public static final int INDEXER_COLOR_PROXIMITY = 200;
Expand Down
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 @@ -61,8 +61,8 @@ private void driverDashboardSetup() {
SmartDashboard.putBoolean("Intake Extended", intake.isExtended());
SmartDashboard.putBoolean("Able to Shoot", indexer.ableToShoot());
SmartDashboard.putBoolean("Is Empty", indexer.isEmpty());
SmartDashboard.putBoolean("1 Ball", indexer.getBallCount() == 1);
SmartDashboard.putBoolean("Fully Loaded", indexer.fullyLoaded());
SmartDashboard.putBoolean("1 Ball", indexer.isOneBall());
SmartDashboard.putBoolean("Fully Loaded", indexer.isFull());
SmartDashboard.putBoolean("Snapped", RobotState.getInstance().isSnapped());
SmartDashboard.putBoolean("Climber Enabled", RobotState.getInstance().isClimbing());
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/frc/robot/commands/IntakeReverse.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package frc.robot.commands;

import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.indexer.Indexer;
import frc.robot.subsystems.intake.Intake;


Expand All @@ -24,7 +23,7 @@ public void execute() {

@Override
public boolean isFinished() {
return !Indexer.getInstance().getRejecting();
return true;
}

@Override
Expand Down
Loading