There was an error while loading. Please reload this page.
1 parent db9e994 commit 1929d56Copy full SHA for 1929d56
1 file changed
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/common/subsystem/FlyWheel.kt
@@ -23,7 +23,7 @@ class FlyWheel(val opMode: OpMode) : Subsystem("FlyWheel") {
23
FlyWheelState.IDLE -> idleRPM
24
FlyWheelState.SHOOTING -> shootingRPM
25
FlyWheelState.INTAKING -> intakingRPM
26
- }
+ } + Controller.rpmBoost
27
28
val atRPM: Boolean
29
get() = state == FlyWheelState.IDLE || abs(rpm - targetRpm) < Controller.rpmThreshold
@@ -150,6 +150,9 @@ class FlyWheel(val opMode: OpMode) : Subsystem("FlyWheel") {
150
151
@JvmField
152
var rpmThreshold = 300.0
153
+
154
+ @JvmField
155
+ var rpmBoost = 0.0
156
}
157
158
0 commit comments