From 03813f36baa5ba7fa85dffb26ed453883ade8a4c Mon Sep 17 00:00:00 2001 From: John Joseph Date: Wed, 13 Dec 2023 22:08:11 -0500 Subject: [PATCH] Mb fix name change --- src/main/kotlin/frc/team449/control/holonomic/HolonomicOI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/frc/team449/control/holonomic/HolonomicOI.kt b/src/main/kotlin/frc/team449/control/holonomic/HolonomicOI.kt index 56dff02..11e3a03 100644 --- a/src/main/kotlin/frc/team449/control/holonomic/HolonomicOI.kt +++ b/src/main/kotlin/frc/team449/control/holonomic/HolonomicOI.kt @@ -132,7 +132,7 @@ class HolonomicOI( { if (abs(driveController.leftY) < RobotConstants.TRANSLATION_DEADBAND) .0 else -driveController.leftY }, { if (abs(driveController.leftX) < RobotConstants.TRANSLATION_DEADBAND) .0 else -driveController.leftX }, { if (abs(driveController.getRawAxis(4)) < RobotConstants.ROTATION_DEADBAND) .0 else -driveController.getRawAxis(4) }, - SlewRateLimiter(RobotConstants.RATE_LIMIT), + SlewRateLimiter(RobotConstants.ROT_RATE_LIMIT, RobotConstants.NEG_ROT_RATE_LIM, 0.0), RobotConstants.MAX_ACCEL, { true } )