Commit | Line | Data |
---|---|---|
e71d6d9b ME |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import edu.wpi.first.wpilibj.command.Command; | |
4 | ||
87139697 ME |
5 | /*** |
6 | * This command will move the robot forward while lifting the defense arm up. | |
7 | * | |
8 | * pre-condition: robot is flush against the ramp of the outerworks in front of | |
9 | * the portcullis | |
10 | * | |
11 | * This command has to drive forward at the same time because that's how the | |
12 | * robot opens the portcullis | |
13 | * | |
14 | * post-condition: the robot has passed the portcullis and is in the next zone | |
15 | * | |
16 | * @author Meryem and Avi | |
17 | * | |
18 | */ | |
19 | ||
e71d6d9b ME |
20 | public class LiftPortcullis extends Command { |
21 | ||
87139697 ME |
22 | public LiftPortcullis() { |
23 | } | |
e71d6d9b | 24 | |
87139697 ME |
25 | @Override |
26 | protected void initialize() { | |
27 | } | |
e71d6d9b | 28 | |
87139697 ME |
29 | @Override |
30 | protected void execute() { | |
31 | } | |
e71d6d9b | 32 | |
87139697 ME |
33 | @Override |
34 | protected boolean isFinished() { | |
35 | return false; | |
36 | } | |
e71d6d9b | 37 | |
87139697 ME |
38 | @Override |
39 | protected void end() { | |
40 | } | |
e71d6d9b | 41 | |
87139697 ME |
42 | @Override |
43 | protected void interrupted() { | |
44 | } | |
e71d6d9b | 45 | } |