public final class Elevator
extends edu.wpi.first.wpilibj.command.Subsystem
| Constructor | Description |
|---|---|
Elevator() |
Constructs a new
Elevator subsystem. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
halt() |
Stops the elevator motors.
|
protected void |
initDefaultCommand() |
|
void |
set(double speed,
double rotations) |
Sets the speed of the elevator talons.
|
void |
setPercent(double percent) |
|
void |
setVelocity(double speed) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getSubsystem, setName, setName, setSubsystemprotected void initDefaultCommand()
initDefaultCommand in class edu.wpi.first.wpilibj.command.Subsystempublic void set(double speed,
double rotations)
speed - - Talon speed.public void setVelocity(double speed)
public void setPercent(double percent)
public void halt()