Class IndexerBedStates

java.lang.Object
frc.robot.indexerBed.IndexerBedStates

public class IndexerBedStates extends Object
  • Constructor Details

    • IndexerBedStates

      public IndexerBedStates()
  • Method Details

    • setupDefaultCommand

      public static void setupDefaultCommand()
    • neutral

      public static void neutral()
    • indexMax

      public static void indexMax()
    • indexIfReady

      public static void indexIfReady()
    • coastMode

      public static void coastMode()
    • ensureBrakeMode

      public static void ensureBrakeMode()
    • log

      protected static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd)
    • scheduleIfNotRunning

      public static void scheduleIfNotRunning(edu.wpi.first.wpilibj2.command.Command command)
      Schedules a command for the indexer subsystem only if it's not already the running command
      Parameters:
      command - the command to schedule