Class ShooterMotor

All Implemented Interfaces:
Motor, MotorIO

public class ShooterMotor extends AbstractVelocityMotor<MotorConfig>
SparkMax-backed shooter flywheel motor configured from the shooter subsystem config.

Inherits coast-mode idle, gearing, live-tunable configuration, and telemetry from AbstractVelocityMotor. The flywheel spins continuously, so soft limits are typically not used.

  • Method Details

    • create

      public static ShooterMotor create(MotorConfig config)
      Creates a shooter motor wrapper using values from the shooter motor config.

      Use this factory so AbstractMotor.init() is always called after config assignment.

      Parameters:
      config - shooter motor configuration containing CAN ID, gear ratio, inversion, and current limits
      Returns:
      configured shooter motor wrapper