From: Lauren Meier Date: Sat, 30 Jan 2016 05:14:59 +0000 (-0800) Subject: fill in ExtendLift with method from Scaler class X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=8fa1c3c9f92ccb08a2f6c9ac899b1342b81f7e8d fill in ExtendLift with method from Scaler class --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java b/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java index 052569e0..cebbc89b 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java @@ -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() { + } }