everything done except mapping buttons to actions
[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.getForwardR(), oi.getTwistR());
12 }
13
14 protected boolean isFinished() {
15 return false;
16 }
17 }