Package frc.robot.launcher
Class LauncherStates
java.lang.Object
frc.robot.launcher.LauncherStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic Triggerstatic voidstatic voidstatic edu.wpi.first.wpilibj2.command.Commandprotected static edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) static voidneutral()static voidscheduleIfNotRunning(edu.wpi.first.wpilibj2.command.Command command) Schedules a command for the launcher subsystem only if it's not already the running commandstatic void
-
Constructor Details
-
LauncherStates
public LauncherStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
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
-