Package frc.robot.hood
Class HoodStates
java.lang.Object
frc.robot.hood.HoodStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidstatic voidhome()protected static Commandstatic voidneutral()static voidscheduleIfNotRunning(Command command) Schedules a command for the hood subsystem only if it's not already the running commandstatic void
-
Constructor Details
-
HoodStates
public HoodStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
neutral
public static void neutral() -
home
public static void home() -
aimAtTarget
public static void aimAtTarget() -
autonAimAtTarget
public static void autonAimAtTarget() -
coastMode
public static void coastMode() -
ensureBrakeMode
public static void ensureBrakeMode() -
log
-
scheduleIfNotRunning
Schedules a command for the hood subsystem only if it's not already the running command- Parameters:
command- the command to schedule
-