Package frc.robot.commands.wrist
Class VariableIntake
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.wrist.VariableIntake
- All Implemented Interfaces:
Sendable
Variable controlled intake speed.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior -
Field Summary
Fields inherited from class edu.wpi.first.wpilibj2.command.Command
m_requirements -
Constructor Summary
ConstructorsConstructorDescriptionVariableIntake(WristIntake intake, CommandXboxController controller) Variable intake constructor. -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, end, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initialize, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout
-
Constructor Details
-
VariableIntake
Variable intake constructor.- Parameters:
intake- intakecontroller- controller
-
-
Method Details
-
execute
public void execute() -
isFinished
public boolean isFinished()- Overrides:
isFinishedin classCommand
-