500bad953e33000ad9c29fa9a890c64d29ed0f86
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / commands / DriveWithJoysticks.java
1 package org.usfirst.frc.team3501.robot.commands;
2
3 public class DriveWithJoysticks extends CommandBase {
4
5 public DriveWithJoysticks() {
6 super("DriveWithJoysticks");
7 requires(drivetrain);
8 }
9
10 protected void execute() {
11 drivetrain.drive(oi.getForward(), oi.getTwist());
12 }
13
14 protected boolean isFinished() {
15 return false;
16 }
17 }