Skip to content

Commit

Permalink
Update to WPILib 2024.3.2 (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ACat701 authored Aug 31, 2024
1 parent 3daf2f9 commit 20a2d0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 20a2d0b

Please sign in to comment.