Skip to content

Commit

Permalink
create spark flex
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiggy committed Jul 15, 2024
1 parent 94b05e0 commit d0e7ff9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public class IntakeShooter extends SubsystemBase {
// private final CANSparkMax outakeMotor =
// MotorControllerFactory.createSparkMax(10, MotorConfig.NEO_550);
private final CANSparkFlex outtakeMotorVortex =
new CANSparkFlex(OUTTAKE_PORT, MotorType.kBrushless);
MotorControllerFactory.createSparkFlex(OUTTAKE_PORT,
MotorConfig.NEO_VORTEX);

private final RelativeEncoder outtakeEncoder = outtakeMotorVortex.getEncoder();
private final RelativeEncoder intakeEncoder = intakeMotor.getEncoder();
private final SparkPIDController pidControllerOutake = outtakeMotorVortex.getPIDController();
Expand Down

0 comments on commit d0e7ff9

Please sign in to comment.