Skip to content

Commit

Permalink
Error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekChen1 committed Nov 10, 2023
1 parent e14359c commit 8d00413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ private void configureButtonBindings() {
.onTrue(new ElevatorPositionCommand(elevatorSubsystem, Constants.Elevator.Setpoints.STOWED))
.onTrue(new IntakeModeCommand(intakeSubsystem, Modes.OFF));

jacob.start().onTrue(new SetZeroModeCommand(elevatorSubsystem));

anthony
.povLeft()
.onTrue(new ElevatorPositionCommand(elevatorSubsystem, Constants.Elevator.Setpoints.STOWED))
Expand Down Expand Up @@ -459,7 +457,7 @@ private void setupAutonomousCommands() {
intakeLow[0]
? Elevator.Setpoints.GROUND_INTAKE_CONE
: Elevator.Setpoints.SHELF_INTAKE_CONE),
"intake cone",
"intake cube",
new ElevatorPositionCommand( // edited so that it works with elevator - chooses between
// ground or shelf intake
elevatorSubsystem,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/IntakeSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public IntakeSubsystem() {

filterOutput = 0.0;

statorCurrentLimit = 60;
statorCurrentLimit = 75;

isCube = false;

Expand Down

0 comments on commit 8d00413

Please sign in to comment.