add end() in interrupted in scaler methods and make sure constants go in the right...
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / scaler / ExtendLift.java
CommitLineData
6bb7f8ac 1package org.usfirst.frc.team3501.robot.commands.scaler;
00b68bad 2
8fa1c3c9
LM
3import org.usfirst.frc.team3501.robot.Robot;
4
00b68bad
YN
5import edu.wpi.first.wpilibj.command.Command;
6
00b68bad
YN
7public class ExtendLift extends Command {
8
8fa1c3c9
LM
9 public ExtendLift() {
10 }
00b68bad 11
8fa1c3c9
LM
12 @Override
13 protected void initialize() {
14 Robot.scaler.liftScissorLift();
15 }
00b68bad 16
8fa1c3c9
LM
17 @Override
18 protected void execute() {
19 }
00b68bad 20
8fa1c3c9
LM
21 @Override
22 protected boolean isFinished() {
23 return true;
24 }
00b68bad 25
8fa1c3c9
LM
26 @Override
27 protected void end() {
28 }
00b68bad 29
8fa1c3c9
LM
30 @Override
31 protected void interrupted() {
39a39f43 32 end();
8fa1c3c9 33 }
00b68bad 34}