Class IntakeMotor

All Implemented Interfaces:
Motor, MotorIO

public class IntakeMotor extends AbstractVelocityMotor<MotorConfig>
SparkMax-backed intake roller motor configured from the intake subsystem config.

Inherits coast-mode idle, gearing, live-tunable configuration, and telemetry from AbstractVelocityMotor. The rollers spin continuously in both directions, so soft limits are typically not used.

  • Method Details

    • create

      public static IntakeMotor create(MotorConfig config)
      Creates an intake motor wrapper using values from the intake motor config.

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

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