From 2ba89f11ee10ab6832db9b4b86c1f6aeb9309d57 Mon Sep 17 00:00:00 2001 From: Modular-Holmes <77898901+Modular-Holmes@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:50:51 -0400 Subject: [PATCH] Added Flywheel CAN IDs --- .../frc/robot/subsystems/flywheel/FlywheelIOSparkMax.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/flywheel/FlywheelIOSparkMax.java b/src/main/java/frc/robot/subsystems/flywheel/FlywheelIOSparkMax.java index 787f369..456ad7a 100644 --- a/src/main/java/frc/robot/subsystems/flywheel/FlywheelIOSparkMax.java +++ b/src/main/java/frc/robot/subsystems/flywheel/FlywheelIOSparkMax.java @@ -28,8 +28,8 @@ public class FlywheelIOSparkMax implements FlywheelIO { private static final double GEAR_RATIO = 1.5; - private final CANSparkMax leader = new CANSparkMax(0, MotorType.kBrushless); - private final CANSparkMax follower = new CANSparkMax(1, MotorType.kBrushless); + private final CANSparkMax leader = new CANSparkMax(51, MotorType.kBrushless); + private final CANSparkMax follower = new CANSparkMax(52, MotorType.kBrushless); private final RelativeEncoder encoder = leader.getEncoder(); private final SparkPIDController pid = leader.getPIDController();