Class FeederMotor

All Implemented Interfaces:
Motor, MotorIO

public class FeederMotor extends AbstractVelocityMotor<MotorConfig>
SparkMax-backed feeder belt motor configured from the feeder subsystem config.

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

  • Method Details

    • create

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

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

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