change location of base files
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / commands / DriveWithJoysticks.java
index 980214781095e3710b79dcb625ada930be0c2a3a..5e935c97e0c99294eb9c32411107883a3a2fcc18 100644 (file)
@@ -1,6 +1,8 @@
 package org.usfirst.frc.team3501.robot.commands;
 
-public class DriveWithJoysticks extends CommandBase {
+import org.usfirst.frc.team3501.bases.Command;
+
+public class DriveWithJoysticks extends Command {
 
     public DriveWithJoysticks() {
         super("DriveWithJoysticks");
@@ -11,6 +13,7 @@ public class DriveWithJoysticks extends CommandBase {
         double forward = oi.getForwardR();
         double twist   = oi.getTwistR();
 
+        // option to lock twist for alignment
         if (oi.getRightPressed(3, 4, 5, 6))
             twist = 0;