Skip to content

Commit

Permalink
Added Flywheel CAN IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Modular-Holmes authored Mar 28, 2024
1 parent 330d688 commit 2ba89f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 2ba89f1

Please sign in to comment.