public abstract class DriveBase
extends Subsystem
| Constructor and Description |
|---|
DriveBase(SpeedControllerGroup left,
SpeedControllerGroup right) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
setRampRate(double rampRate)
Sets the Ramp Rate.
|
void |
tankDrive(double left,
double right)
Sets the drive base to drive.
|
public DriveBase(SpeedControllerGroup left,
SpeedControllerGroup right)
public abstract void setRampRate(double rampRate)
rampRate - The time in seconds to go from zero to full speed.public void tankDrive(double left,
double right)
left - The left power [-1, 1]right - The right power [-1, 1]