Skip to content

Commit 3d33039

Browse files
committed
YOOOOO
1 parent e280546 commit 3d33039

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

src/main/java/wmironpatriots/commands/Autonomous.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public static SendableChooser<Command> configureAutons(Swerve swerve, Superstruc
3434
// 120.0,
3535
// 1),
3636
// MODULE_LOCS);
37+
3738
RobotConfig config = null;
3839
try {
3940
config = RobotConfig.fromGUISettings();

src/main/java/wmironpatriots/subsystems/swerve/SwerveConstants.java

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class SwerveConstants {
5252
Rotation2d.fromRotations(
5353
DriverStation.getAlliance().orElse(Alliance.Blue) == Alliance.Blue ? 0 : 0.5);
5454

55-
public static final double MAX_LINEAR_SPEED = Units.feetToMeters(17.25);
55+
public static final double MAX_LINEAR_SPEED = Units.feetToMeters(18);
5656
public static final double MAX_ANGULAR_SPEED = MAX_LINEAR_SPEED / RADIUS_METERS;
5757

5858
public static final double LINEAR_P = 3.0; // 4.5;
@@ -68,13 +68,27 @@ public class SwerveConstants {
6868
public static final ModuleConfig[] MODULE_CONFIGS =
6969
new ModuleConfig[] {
7070
new ModuleConfig(
71-
0, MATRIXID.FL_PIVOT, MATRIXID.FL_DRIVE, MATRIXID.FL_CANCODER, 0.29, true, true, false),
71+
0,
72+
MATRIXID.FL_PIVOT,
73+
MATRIXID.FL_DRIVE,
74+
MATRIXID.FL_CANCODER,
75+
-0.16,
76+
true,
77+
false,
78+
false),
7279
new ModuleConfig(
7380
1, MATRIXID.FR_PIVOT, MATRIXID.FR_DRIVE, MATRIXID.FR_CANCODER, 0.01, true, true, false),
7481
new ModuleConfig(
7582
2, MATRIXID.BL_PIVOT, MATRIXID.BL_DRIVE, MATRIXID.BL_CANCODER, 0.36, true, true, false),
7683
new ModuleConfig(
77-
3, MATRIXID.BR_PIVOT, MATRIXID.BR_DRIVE, MATRIXID.BR_CANCODER, 0.07, true, true, false),
84+
3,
85+
MATRIXID.BR_PIVOT,
86+
MATRIXID.BR_DRIVE,
87+
MATRIXID.BR_CANCODER,
88+
-0.26,
89+
true,
90+
true,
91+
false),
7892
};
7993

8094
// public static final ModuleConfig[] MODULE_CONFIGS =

0 commit comments

Comments
 (0)