diff --git a/src/main/java/frc/robot/subsystems/drive/ModuleIOSparkMax.java b/src/main/java/frc/robot/subsystems/drive/ModuleIOSparkMax.java index 6e31503..1b9072a 100644 --- a/src/main/java/frc/robot/subsystems/drive/ModuleIOSparkMax.java +++ b/src/main/java/frc/robot/subsystems/drive/ModuleIOSparkMax.java @@ -64,20 +64,20 @@ public ModuleIOSparkMax(int index) { absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED break; case 1: - driveSparkMax = new CANSparkMax(3, MotorType.kBrushless); - turnSparkMax = new CANSparkMax(4, MotorType.kBrushless); + driveSparkMax = new CANSparkMax(11, MotorType.kBrushless); + turnSparkMax = new CANSparkMax(12, MotorType.kBrushless); turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder(); absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED break; case 2: - driveSparkMax = new CANSparkMax(5, MotorType.kBrushless); - turnSparkMax = new CANSparkMax(6, MotorType.kBrushless); + driveSparkMax = new CANSparkMax(21, MotorType.kBrushless); + turnSparkMax = new CANSparkMax(22, MotorType.kBrushless); turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder(); absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED break; case 3: - driveSparkMax = new CANSparkMax(7, MotorType.kBrushless); - turnSparkMax = new CANSparkMax(8, MotorType.kBrushless); + driveSparkMax = new CANSparkMax(31, MotorType.kBrushless); + turnSparkMax = new CANSparkMax(32, MotorType.kBrushless); turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder(); absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED break;