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

Commit 0aba423

Browse files
committed
fix: Idle states.
1 parent ae4dccc commit 0aba423

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/frc/robot/intake/Intake.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ private Intake() {
3131
backRollerValues = new VelocityControllerIOValues();
3232
backRoller.configure(BackRollerConstants.CONTROLLER_CONSTANTS);
3333

34-
setpoint = new IntakeState(0, 0);
35-
goal = new IntakeState(0, 0);
34+
setpoint = IntakeState.IDLE;
35+
goal = IntakeState.IDLE;
3636
}
3737

3838
/**

src/main/java/frc/robot/shooter/Shooter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ private Shooter() {
3737
flywheelValues = new VelocityControllerIOValues();
3838
flywheel.configure(FlywheelConstants.CONTROLLER_CONSTANTS);
3939

40-
setpoint = new ShooterState(0, 0);
41-
goal = new ShooterState(0, 0);
40+
setpoint = ShooterState.IDLE;
41+
goal = ShooterState.IDLE;
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)