fill in ExtendLift with method from Scaler class
authorLauren Meier <meier.lauren@gmail.com>
Sat, 30 Jan 2016 05:14:59 +0000 (21:14 -0800)
committerLauren Meier <meier.lauren@gmail.com>
Sun, 31 Jan 2016 01:19:28 +0000 (17:19 -0800)
src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java

index 052569e04f37492cd1b6b9e09646bd37cdcad0c1..cebbc89b22c95b511a95a878f14980f77f8ab839 100755 (executable)
@@ -1,30 +1,33 @@
 package org.usfirst.frc.team3501.robot.commands;
 
+import org.usfirst.frc.team3501.robot.Robot;
+
 import edu.wpi.first.wpilibj.command.Command;
 
 public class ExtendLift extends Command {
 
-       public ExtendLift() {
-       }
+  public ExtendLift() {
+  }
 
-       @Override
-       protected void initialize() {
-       }
+  @Override
+  protected void initialize() {
+    Robot.scaler.liftScissorLift();
+  }
 
-       @Override
-       protected void execute() {
-       }
+  @Override
+  protected void execute() {
+  }
 
-       @Override
-       protected boolean isFinished() {
-               return false;
-       }
+  @Override
+  protected boolean isFinished() {
+    return true;
+  }
 
-       @Override
-       protected void end() {
-       }
+  @Override
+  protected void end() {
+  }
 
-       @Override
-       protected void interrupted() {
-       }
+  @Override
+  protected void interrupted() {
+  }
 }