From 13da0e28eea43ae1d40a9d54b5f7a6388ce9fbf2 Mon Sep 17 00:00:00 2001 From: Ishan1522 Date: Thu, 25 Jul 2024 21:53:46 -0400 Subject: [PATCH] fix skid ratio --- src/main/java/frc/robot/subsystems/swerve/DriveSubsystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/swerve/DriveSubsystem.java b/src/main/java/frc/robot/subsystems/swerve/DriveSubsystem.java index d0ef84b..c89d1ec 100644 --- a/src/main/java/frc/robot/subsystems/swerve/DriveSubsystem.java +++ b/src/main/java/frc/robot/subsystems/swerve/DriveSubsystem.java @@ -232,7 +232,7 @@ public boolean isSkidding() { boolean collisionDetected = isCollisionDetected(); boolean isStatorGood = getStatorCurrents(); // boolean - if (skidRatio > 10 || collisionDetected || isStatorGood) { + if (skidRatio > 1 || collisionDetected || isStatorGood) { return true; } return false;