Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
fix(swerve); Rezero modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Mar 19, 2024
1 parent 5562878 commit 55bfc14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/frc/robot/swerve/SwerveConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,28 @@ public static class MK4iConstants {
new SwerveModuleConfig(
new SwerveModuleCAN(11, 10, 12, SWERVE_BUS),
new Translation2d(X_OFFSET, Y_OFFSET),
Rotation2d.fromRotations(-0.027100));
Rotation2d.fromRotations(-0.385742));

/** Module configuration for the north east swerve module. */
public static final SwerveModuleConfig NORTH_EAST_MODULE_CONFIG =
new SwerveModuleConfig(
new SwerveModuleCAN(2, 1, 3, SWERVE_BUS),
new Translation2d(X_OFFSET, -Y_OFFSET),
Rotation2d.fromRotations(-0.429688));
Rotation2d.fromRotations(-0.229004));

/** Module configuration for the south east swerve module. */
public static final SwerveModuleConfig SOUTH_EAST_MODULE_CONFIG =
new SwerveModuleConfig(
new SwerveModuleCAN(5, 4, 6, SWERVE_BUS),
new Translation2d(-X_OFFSET, -Y_OFFSET),
Rotation2d.fromRotations(-0.097168));
Rotation2d.fromRotations(-0.096436));

/** Module configuration for the south west swerve module. */
public static final SwerveModuleConfig SOUTH_WEST_MODULE_CONFIG =
new SwerveModuleConfig(
new SwerveModuleCAN(8, 7, 9, SWERVE_BUS),
new Translation2d(-X_OFFSET, Y_OFFSET),
Rotation2d.fromRotations(-0.309814));
Rotation2d.fromRotations(-0.448242));

/**
* Calculates the maximum attainable open loop speed in meters per second.
Expand Down

0 comments on commit 55bfc14

Please sign in to comment.