From dd3958ea4c118e606ae103a49cec9e527dcdbddc Mon Sep 17 00:00:00 2001 From: jiarong6 <152462188+jiarong6@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:29:42 -0400 Subject: [PATCH] drive motor current limit upped to 55a, may need to increase more, power issues should be resolved --- 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 96c17b3..a8bf074 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 = 20; +const int DRIVE_MOTOR_CURRENT_LIMIT = 55; const double SWERVE_VOLTAGE_COMPENSATION = 10.5; const bool IS_DRIVE_IN_COAST = false; const bool IS_ROBOT_ORIENTED_DRIVE = false;