We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2450b98 commit 69c361bCopy full SHA for 69c361b
src/main/java/frc/robot/subsystems/Shooter/Shooter.java
@@ -16,7 +16,7 @@ void stopMotors() {
16
17
void setTargetState(ShooterConstants.ShooterState targetState) {
18
currentState = targetState;
19
- setMotorOutput(currentState.voltagePercentage);
+ setMotorOutput(targetState.voltagePercentage);
20
}
21
22
void setMotorOutput(double targetVoltagePercentage) {
0 commit comments