Class IdleFeederCommand

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable

public class IdleFeederCommand extends AbstractIdleVelocityCommand<FeederSubsystem>
Default command that maintains the feeder belt at the configured idle RPM.

Set this as the default command so the belt keeps running forward at a low RPM when no other command is active. This ensures Fuel continuously moves from the intake toward the indexer without operator intervention. The command never finishes on its own and stops the motor when interrupted.

  • Nested Class Summary

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command

    edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior
  • Field Summary

    Fields inherited from class frc.robot.shared.commands.AbstractSubsystemCommand

    log, subsystem
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an idle command for the feeder.
  • Method Summary

    Methods inherited from class frc.robot.shared.commands.AbstractIdleVelocityCommand

    end, execute, isFinished, onInitialize

    Methods inherited from class frc.robot.shared.commands.AbstractSubsystemCommand

    initialize

    Methods inherited from class edu.wpi.first.wpilibj2.command.Command

    addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdleFeederCommand

      public IdleFeederCommand(FeederSubsystem subsystem)
      Creates an idle command for the feeder.
      Parameters:
      subsystem - feeder subsystem to hold at idle RPM