fill in ExtendLift with method from Scaler class
[3501/stronghold-2016] / 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() {
+  }
 }