Package frc.robot.commands.wrist
Class AutoWrist
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.wrist.AutoWrist
- All Implemented Interfaces:
Sendable
Consistent wrist operation for Autonomous.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoWristconeIntake(WristIntake intake) Intake for conestatic AutoWristconeIntake(WristIntake intake, double speed) Intake for conestatic AutoWristconeOuttake(WristIntake intake) Outtake for conestatic AutoWristconeOuttake(WristIntake intake, double speed) Outtake for conestatic AutoWristcubeIntake(WristIntake intake) Intake for cubestatic AutoWristcubeIntake(WristIntake intake, double speed) Intake for cubestatic AutoWristcubeOuttake(WristIntake intake) Outtake for cubestatic AutoWristcubeOuttake(WristIntake intake, double speed) Outtake for cubevoidend(boolean interrupted) voidMethods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, execute, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isFinished, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout
-
Method Details
-
cubeIntake
Intake for cube -
cubeIntake
Intake for cube -
cubeOuttake
Outtake for cube -
cubeOuttake
Outtake for cube -
coneIntake
Intake for cone -
coneIntake
Intake for cone -
coneOuttake
Outtake for cone -
coneOuttake
Outtake for cone -
initialize
public void initialize()- Overrides:
initializein classCommand
-
end
public void end(boolean interrupted)
-