Skip to content

Commit 1929d56

Browse files
committed
03/13/26 - 13 32
1 parent db9e994 commit 1929d56

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • TeamCode/src/main/java/org/firstinspires/ftc/teamcode/common/subsystem

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/common/subsystem/FlyWheel.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FlyWheel(val opMode: OpMode) : Subsystem("FlyWheel") {
2323
FlyWheelState.IDLE -> idleRPM
2424
FlyWheelState.SHOOTING -> shootingRPM
2525
FlyWheelState.INTAKING -> intakingRPM
26-
}
26+
} + Controller.rpmBoost
2727

2828
val atRPM: Boolean
2929
get() = state == FlyWheelState.IDLE || abs(rpm - targetRpm) < Controller.rpmThreshold
@@ -150,6 +150,9 @@ class FlyWheel(val opMode: OpMode) : Subsystem("FlyWheel") {
150150

151151
@JvmField
152152
var rpmThreshold = 300.0
153+
154+
@JvmField
155+
var rpmBoost = 0.0
153156
}
154157
}
155158
}

0 commit comments

Comments
 (0)