Package frc.robot.fuelIntake
Class FuelIntakeStates
java.lang.Object
frc.robot.fuelIntake.FuelIntakeStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic 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 a subsystem only if it's not already the running commandstatic void
-
Constructor Details
-
FuelIntakeStates
public FuelIntakeStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
neutral
public static void neutral() -
intakeFuel
public static void intakeFuel() -
intakeFuelCommand
public static edu.wpi.first.wpilibj2.command.Command intakeFuelCommand() -
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 a subsystem only if it's not already the running command- Parameters:
subsystem- the subsystem the command requirescommand- the command to schedule
-