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 35b43ac commit c23cc3aCopy full SHA for c23cc3a
2 files changed
src/main/kotlin/dev/nextftc/control/feedback/PIDElement.kt
@@ -45,7 +45,7 @@ data class PIDCoefficients @JvmOverloads constructor(
45
*
46
* @author Zach Harel, rowan-mcalpin
47
*/
48
-internal class PIDController @JvmOverloads constructor(
+class PIDController @JvmOverloads constructor(
49
val coefficients: PIDCoefficients,
50
val resetIntegralOnZeroCrossover: Boolean = true
51
) {
src/main/kotlin/dev/nextftc/control/feedback/SquIDElement.kt
@@ -34,7 +34,7 @@ import kotlin.time.TimeSource
34
35
36
37
-internal class SquIDController(val coefficients: PIDCoefficients) {
+class SquIDController(val coefficients: PIDCoefficients) {
38
39
private var lastError: Double = 0.0
40
private var errorSum = 0.0
0 commit comments