Class LauncherStates

java.lang.Object
frc.robot.launcher.LauncherStates

public class LauncherStates extends Object
  • Constructor Details

    • LauncherStates

      public LauncherStates()
  • Method Details

    • setupDefaultCommand

      public static void setupDefaultCommand()
    • aimingAtTarget

      public static Trigger aimingAtTarget()
    • neutral

      public static void neutral()
    • coastMode

      public static void coastMode()
    • ensureBrakeMode

      public static void ensureBrakeMode()
    • aimAtTarget

      public static void aimAtTarget()
    • launchFuel

      public static edu.wpi.first.wpilibj2.command.Command launchFuel()
    • 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 launcher subsystem only if it's not already the running command
      Parameters:
      command - the command to schedule