From 6782cc33b182c90bb9bbfa8018510a9ef3835e91 Mon Sep 17 00:00:00 2001 From: Alvin Zhang <41vin2h4n9@gmail.com> Date: Sat, 28 Sep 2024 15:02:43 -0700 Subject: [PATCH] Update at 'Sat Sep 28 15:02:43 PDT 2024' --- .../org/team1540/robot2024/subsystems/drive/Drivetrain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/team1540/robot2024/subsystems/drive/Drivetrain.java b/src/main/java/org/team1540/robot2024/subsystems/drive/Drivetrain.java index 8764f72..9f2fd48 100644 --- a/src/main/java/org/team1540/robot2024/subsystems/drive/Drivetrain.java +++ b/src/main/java/org/team1540/robot2024/subsystems/drive/Drivetrain.java @@ -111,7 +111,7 @@ private Drivetrain( this::setPose, () -> kinematics.toChassisSpeeds(getModuleStates()), this::runVelocity, - new HolonomicPathFollowerConfig(new PIDConstants(6.0, 0.0, 0.05),new PIDConstants(12.0, 0.0, 0.0),MAX_LINEAR_SPEED, DRIVE_BASE_RADIUS, new ReplanningConfig()), + new HolonomicPathFollowerConfig(new PIDConstants(6.0, 0.0, 0.05),new PIDConstants(12.0, 0.0, 0.05),MAX_LINEAR_SPEED, DRIVE_BASE_RADIUS, new ReplanningConfig()), () -> DriverStation.getAlliance().isPresent() && DriverStation.getAlliance().get() == DriverStation.Alliance.Red, this); PPHolonomicDriveController.setRotationTargetOverride(this::getOverrideTargetRotationToSpeaker);