Package frc.robot.intakeExtension
Class IntakeExtensionStates
java.lang.Object
frc.robot.intakeExtension.IntakeExtensionStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidprotected static edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) 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
-
IntakeExtensionStates
public IntakeExtensionStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
fullExtend
public static void fullExtend() -
fullRetract
public static void fullRetract() -
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
-