From f956895d772354f81a0868ef24926b33fe82712e Mon Sep 17 00:00:00 2001 From: superpenguin612 <74030080+superpenguin612@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:10:21 -0400 Subject: [PATCH] Reduce drive current limit to 75A --- src/main/java/frc/robot/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index ad678af..dd5c552 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -118,7 +118,7 @@ private MusicTrack(String filename) { // max velocity in 1/3 sec SWERVE_CONSTANTS.MAX_STEER_ACCELERATION_RADIANS_PER_SECOND_SQUARED = 10 * 100 * 2 * Math.PI; // TODO - SWERVE_CONSTANTS.DRIVE_CURRENT_LIMIT = 100; + SWERVE_CONSTANTS.DRIVE_CURRENT_LIMIT = 75; SWERVE_CONSTANTS.STEER_CURRENT_LIMIT = 30; SWERVE_CONSTANTS.DRIVE_GEARBOX_REPR = DCMotor.getKrakenX60(1); SWERVE_CONSTANTS.STEER_GEARBOX_REPR = DCMotor.getKrakenX60(1);