public class Shift
extends edu.wpi.first.wpilibj.command.Subsystem
Modifier and Type | Field and Description |
---|---|
(package private) edu.wpi.first.wpilibj.Solenoid |
transmissionSolenoid |
Constructor and Description |
---|
Shift()
Initialize the motors, encoders, and solonoid for the the robot drive.
|
Modifier and Type | Method and Description |
---|---|
void |
initDefaultCommand() |
void |
shift(java.lang.Boolean direction) |
void |
updateDefaultCommand(edu.wpi.first.wpilibj.command.Command command)
Updates the default command on this subsystem
|
public Shift()
public void updateDefaultCommand(edu.wpi.first.wpilibj.command.Command command)
command
- the command to run by defaultpublic void initDefaultCommand()
initDefaultCommand
in class edu.wpi.first.wpilibj.command.Subsystem
public void shift(java.lang.Boolean direction)