From: iefomit Date: Mon, 30 Mar 2026 23:46:33 +0000 (-0700) Subject: auto, pid, velocity changes X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=aab546e6cc7e14924cf24ea33539960f48bf69e2;p=FRC2026.git auto, pid, velocity changes --- diff --git a/src/main/deploy/pathplanner/autos/LeftLiberalDoubleSwipe.auto b/src/main/deploy/pathplanner/autos/LeftLiberalDoubleSwipe.auto index 25b15e3..d9eeba9 100644 --- a/src/main/deploy/pathplanner/autos/LeftLiberalDoubleSwipe.auto +++ b/src/main/deploy/pathplanner/autos/LeftLiberalDoubleSwipe.auto @@ -37,7 +37,7 @@ { "type": "wait", "data": { - "waitTime": 1.5 + "waitTime": 2.0 } }, { @@ -103,7 +103,7 @@ { "type": "wait", "data": { - "waitTime": 1.0 + "waitTime": 1.5 } }, { @@ -115,7 +115,7 @@ { "type": "wait", "data": { - "waitTime": 1.0 + "waitTime": 0.5 } } ] diff --git a/src/main/deploy/pathplanner/paths/Swipe1.path b/src/main/deploy/pathplanner/paths/Swipe1.path index 645b5bd..569e46b 100644 --- a/src/main/deploy/pathplanner/paths/Swipe1.path +++ b/src/main/deploy/pathplanner/paths/Swipe1.path @@ -147,7 +147,7 @@ } ], "globalConstraints": { - "maxVelocity": 2.0, + "maxVelocity": 3.0, "maxAcceleration": 2.0, "maxAngularVelocity": 200.0, "maxAngularAcceleration": 300.0, diff --git a/src/main/deploy/pathplanner/paths/Swipe2.path b/src/main/deploy/pathplanner/paths/Swipe2.path index 5efb8f7..8086c98 100644 --- a/src/main/deploy/pathplanner/paths/Swipe2.path +++ b/src/main/deploy/pathplanner/paths/Swipe2.path @@ -114,7 +114,7 @@ "pointTowardsZones": [], "eventMarkers": [], "globalConstraints": { - "maxVelocity": 2.0, + "maxVelocity": 3.0, "maxAcceleration": 2.0, "maxAngularVelocity": 200.0, "maxAngularAcceleration": 300.0, diff --git a/src/main/java/frc/robot/constants/AutoConstants.java b/src/main/java/frc/robot/constants/AutoConstants.java index c072c6b..c4018ad 100644 --- a/src/main/java/frc/robot/constants/AutoConstants.java +++ b/src/main/java/frc/robot/constants/AutoConstants.java @@ -21,8 +21,8 @@ public class AutoConstants { public static RobotConfig CONFIG; public static final PPHolonomicDriveController AUTO_CONTROLLER = new PPHolonomicDriveController( - new PIDConstants(6.0, 0.0, 0.5), // Translation PID constants - new PIDConstants(5.0, 0.0, 1.0) // Rotation PID constants + new PIDConstants(3.0, 0.0, 0.5), // Translation PID constants + new PIDConstants(4.0, 0.0, 1.0) // Rotation PID constants );