Class WristOpenLoop
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.reefscape.subsystems.wrist.commands.WristOpenLoop
- All Implemented Interfaces:
Sendable
Command for controlling the wrist in open-loop mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionWristOpenLoop
(WristSubsystem wristSubsystem, DoubleSupplier input) Creates a new WristOpenLoop command. -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isFinished, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Constructor Details
-
WristOpenLoop
Creates a new WristOpenLoop command.- Parameters:
wristSubsystem
- The wrist subsystem to controlinput
- Supplier for the percent output (-1.0 to 1.0)
-
-
Method Details