From 6d29ccb4b890ef325023698447fbfeaf4f3dcb0c Mon Sep 17 00:00:00 2001 From: NottheIRS <92690588+NottheIRS@users.noreply.github.com> Date: Sun, 18 Feb 2024 14:10:19 -0500 Subject: [PATCH] Reduced drive mtr current limit to 20. --- src/main/include/SwerveConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/include/SwerveConfig.h b/src/main/include/SwerveConfig.h index 982fa02..76a7d9f 100644 --- a/src/main/include/SwerveConfig.h +++ b/src/main/include/SwerveConfig.h @@ -154,7 +154,7 @@ const double MAX_DRIVE_SPEED_FPS = 18.0; const double MAX_ANGULAR_VELOCITY_DEGPS = 540.0; const double CONTROLLER_DEADZONE = 0.1; const int TURN_MOTOR_CURRENT_LIMIT = 20; -const int DRIVE_MOTOR_CURRENT_LIMIT = 40; +const int DRIVE_MOTOR_CURRENT_LIMIT = 20; const double SWERVE_VOLTAGE_COMPENSATION = 10.5; const bool IS_DRIVE_IN_COAST = false; const bool IS_ROBOT_ORIENTED_DRIVE = false; \ No newline at end of file