Skip to content

Commit

Permalink
Updated Can ID and frame size
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobfey committed Jan 17, 2025
1 parent 2579edc commit f8aa39d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public static final class DriveConstants {
public static final AngularVelocity maxAngularSpeed = RotationsPerSecond.of(2.0);

// Chassis configuration
public static final Distance trackWidth = Inches.of(26.5);
public static final Distance trackWidth = Inches.of(24.5);
// Distance between centers of right and left wheels on robot
public static final Distance wheelBase = Inches.of(26.5);
public static final Distance wheelBase = Inches.of(24.5);
// Distance between front and back wheels on robot
public static final SwerveDriveKinematics driveKinematics =
new SwerveDriveKinematics(
Expand All @@ -64,15 +64,15 @@ public static final class DriveConstants {
public static final Rotation2d rearRightChassisAngularOffset = Rotation2d.fromDegrees(90);

// SPARK MAX CAN IDs
public static final int frontLeftDrivingCanId = 7;
public static final int frontLeftDrivingCanId = 2;
public static final int rearLeftDrivingCanId = 4;
public static final int frontRightDrivingCanId = 12;
public static final int rearRightDrivingCanId = 8;
public static final int frontRightDrivingCanId = 8;
public static final int rearRightDrivingCanId = 6;

public static final int frontLeftTurningCanId = 14;
public static final int frontLeftTurningCanId = 1;
public static final int rearLeftTurningCanId = 3;
public static final int frontRightTurningCanId = 10;
public static final int rearRightTurningCanId = 25;
public static final int frontRightTurningCanId = 5;
public static final int rearRightTurningCanId = 7;
}

public static final class ModuleConstants {
Expand Down

0 comments on commit f8aa39d

Please sign in to comment.