Skip to content

Commit

Permalink
Can IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob1272001 committed Oct 21, 2024
1 parent 69724b2 commit 3780791
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ public ModuleIOSparkMax(int index) {
absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED
break;
case 1:
driveSparkMax = new CANSparkMax(3, MotorType.kBrushless);
turnSparkMax = new CANSparkFlex(4, MotorType.kBrushless);
driveSparkMax = new CANSparkMax(10, MotorType.kBrushless);
turnSparkMax = new CANSparkFlex(9, MotorType.kBrushless);
turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder();
absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED
break;
case 2:
driveSparkMax = new CANSparkMax(5, MotorType.kBrushless);
driveSparkMax = new CANSparkMax(4, MotorType.kBrushless);
turnSparkMax = new CANSparkFlex(6, MotorType.kBrushless);
turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder();
absoluteEncoderOffset = new Rotation2d(0.0); // MUST BE CALIBRATED
Expand Down

0 comments on commit 3780791

Please sign in to comment.