From 42212f727800ff8d5437997fb161b9ec52b2e6d3 Mon Sep 17 00:00:00 2001 From: ProgrammingSR Date: Sun, 4 Feb 2024 16:33:03 -0800 Subject: [PATCH] chore: updated constants with the new chassis --- src/main/java/frc/robot/Constants.java | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index ddfa1bf..0c9348d 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -33,20 +33,20 @@ public static class IOConstants { public static final class DriveConstants { // TODO: set motor and encoder constants - public static final int kFrontLeftDriveMotorPort = 1; - public static final int kRearLeftDriveMotorPort = 3; - public static final int kFrontRightDriveMotorPort = 5; - public static final int kRearRightDriveMotorPort = 7; - - public static final int kFrontLeftTurningMotorPort = 2; - public static final int kRearLeftTurningMotorPort = 4; - public static final int kFrontRightTurningMotorPort = 6; - public static final int kRearRightTurningMotorPort = 8; - - public static final int kFrontLeftTurningEncoderPort = 9; - public static final int kRearLeftTurningEncoderPort = 10; - public static final int kFrontRightTurningEncoderPort = 11; - public static final int kRearRightTurningEncoderPort = 12; + public static final int kFrontLeftDriveMotorPort = 32; + public static final int kRearLeftDriveMotorPort = 29; + public static final int kFrontRightDriveMotorPort = 38; + public static final int kRearRightDriveMotorPort = 34; + + public static final int kFrontLeftTurningMotorPort = 28; + public static final int kRearLeftTurningMotorPort = 22; + public static final int kFrontRightTurningMotorPort = 37; + public static final int kRearRightTurningMotorPort = 26; + + public static final int kFrontLeftTurningEncoderPort = 19; + public static final int kRearLeftTurningEncoderPort = 20; + public static final int kFrontRightTurningEncoderPort = 18; + public static final int kRearRightTurningEncoderPort = 17; public static final double kFrontLeftTurningEncoderOffset = 0; public static final double kRearLeftTurningEncoderOffset = 0;