From 20a2d0bd9c2932ade97f71743a6740b3329f452f Mon Sep 17 00:00:00 2001 From: Alice <90939494+ACat701@users.noreply.github.com> Date: Sat, 31 Aug 2024 12:43:20 -0700 Subject: [PATCH] Update to WPILib 2024.3.2 (#288) --- build.gradle | 2 +- src/main/java/frc/robot/Constants.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index dbb7847..fb0aeff 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2024.3.1" + id "edu.wpi.first.GradleRIO" version "2024.3.2" } repositories { diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 98399ff..679dd14 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -135,7 +135,7 @@ public static class pracBot { public static class constIntake { public static final double ABS_ENCODER_OFFSET = 0.376984; - + public static final boolean ABS_ENCODER_INVERT = true; public static final double GEAR_RATIO = 28.13; public static final NeutralModeValue PIVOT_NEUTRAL_MODE = NeutralModeValue.Brake; @@ -275,6 +275,8 @@ public static final class pracBot { public static final boolean LEFT_INVERT = true; public static final boolean RIGHT_INVERT = false; + + public static final Rotation2d SHOOTER_TO_ROBOT = Rotation2d.fromDegrees(180); } public static class constTurret { @@ -287,7 +289,7 @@ public static class pracBot { public static final double GEAR_RATIO = 39; public static final NeutralModeValue NEUTRAL_MODE_VALUE = NeutralModeValue.Brake; - public static final double ABS_ENCODER_OFFSET = 0.011700; + public static final double ABS_ENCODER_OFFSET = 0.012675; public static final boolean ABS_ENCODER_INVERT = false; public static final InvertedValue MOTOR_INVERTED = InvertedValue.CounterClockwise_Positive;