delete Align command and rename Aim to AimAndAlign
authorMeryem Esa <meresa14@gmail.com>
Sat, 30 Jan 2016 23:53:12 +0000 (15:53 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Sun, 31 Jan 2016 00:04:38 +0000 (16:04 -0800)
src/org/usfirst/frc/team3501/robot/commands/Aim.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/Align.java [deleted file]
src/org/usfirst/frc/team3501/robot/commands/DefaultAutonStrategy.java

diff --git a/src/org/usfirst/frc/team3501/robot/commands/Aim.java b/src/org/usfirst/frc/team3501/robot/commands/Aim.java
deleted file mode 100755 (executable)
index b4c9f21..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands;
-
-import edu.wpi.first.wpilibj.command.Command;
-
-public class Aim extends Command {
-
-       public Aim() {
-       }
-
-       @Override
-       protected void initialize() {
-       }
-
-       @Override
-       protected void execute() {
-       }
-
-       @Override
-       protected boolean isFinished() {
-               return false;
-       }
-
-       @Override
-       protected void end() {
-       }
-
-       @Override
-       protected void interrupted() {
-       }
-}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java b/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java
new file mode 100755 (executable)
index 0000000..7281940
--- /dev/null
@@ -0,0 +1,30 @@
+package org.usfirst.frc.team3501.robot.commands;
+
+import edu.wpi.first.wpilibj.command.Command;
+
+public class AimAndAlign extends Command {
+
+       public AimAndAlign() {
+       }
+
+       @Override
+       protected void initialize() {
+       }
+
+       @Override
+       protected void execute() {
+       }
+
+       @Override
+       protected boolean isFinished() {
+               return false;
+       }
+
+       @Override
+       protected void end() {
+       }
+
+       @Override
+       protected void interrupted() {
+       }
+}
diff --git a/src/org/usfirst/frc/team3501/robot/commands/Align.java b/src/org/usfirst/frc/team3501/robot/commands/Align.java
deleted file mode 100755 (executable)
index 3d28b69..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.usfirst.frc.team3501.robot.commands;
-
-import edu.wpi.first.wpilibj.command.Command;
-
-public class Align extends Command {
-
-       public Align() {
-       }
-
-       @Override
-       protected void initialize() {
-       }
-
-       @Override
-       protected void execute() {
-       }
-
-       @Override
-       protected boolean isFinished() {
-               return false;
-       }
-
-       @Override
-       protected void end() {
-       }
-
-       @Override
-       protected void interrupted() {
-       }
-}
index eccd96682b860470712f53154f6b85aa9e909acf..2e6d8eca9c75e7a0a9aedf21624700675f73c92b 100755 (executable)
@@ -57,7 +57,7 @@ public class DefaultAutonStrategy extends CommandGroup {
 
     // TODO: put in the argument that goes inside of aim, based on the position
     // variable that was passed into the command group
-    addSequential(new Aim());
+    addSequential(new AimAndAlign());
     addSequential(new Shoot());
 
   }