Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
fix: Idle states.
Browse files Browse the repository at this point in the history
haydenheroux committed Apr 10, 2024
1 parent ae4dccc commit 0aba423
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/intake/Intake.java
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@ private Intake() {
backRollerValues = new VelocityControllerIOValues();
backRoller.configure(BackRollerConstants.CONTROLLER_CONSTANTS);

setpoint = new IntakeState(0, 0);
goal = new IntakeState(0, 0);
setpoint = IntakeState.IDLE;
goal = IntakeState.IDLE;
}

/**
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/shooter/Shooter.java
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@ private Shooter() {
flywheelValues = new VelocityControllerIOValues();
flywheel.configure(FlywheelConstants.CONTROLLER_CONSTANTS);

setpoint = new ShooterState(0, 0);
goal = new ShooterState(0, 0);
setpoint = ShooterState.IDLE;
goal = ShooterState.IDLE;
}

/**

0 comments on commit 0aba423

Please sign in to comment.