You use the same subsystem.
Add the following method:
Code:
public void driveAuton(double speed, double turnRate)
{
drive.arcadeDrive(speed, turnRate);
}
You can then call this method in a command that you make for autonomous. Feel free to use the turning feature too, although don't expect to get much accuracy with it (actually, don't expect to get much accuracy with this method at all).
To implement timing is also pretty simple. In the init of your command, type: setTimeout(timeToRun); (replace timeToRun with the amount of time you want to drive forward. Then, in the isFinished of your command, type: return isTimedOut();