Commit | Line | Data |
---|---|---|
6bb7f8ac | 1 | package org.usfirst.frc.team3501.robot.commands.auton; |
e71d6d9b ME |
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 | 25 | @Override |
aa360490 | 26 | protected void end() { |
aa360490 | 27 | |
87139697 | 28 | } |
e71d6d9b | 29 | |
87139697 ME |
30 | @Override |
31 | protected void execute() { | |
aa360490 | 32 | |
87139697 | 33 | } |
e71d6d9b | 34 | |
87139697 | 35 | @Override |
aa360490 | 36 | protected void initialize() { |
aa360490 | 37 | |
87139697 | 38 | } |
e71d6d9b | 39 | |
87139697 | 40 | @Override |
aa360490 | 41 | protected void interrupted() { |
aa360490 | 42 | |
87139697 | 43 | } |
e71d6d9b | 44 | |
87139697 | 45 | @Override |
aa360490 | 46 | protected boolean isFinished() { |
aa360490 | 47 | return false; |
87139697 | 48 | } |
aa360490 | 49 | |
e71d6d9b | 50 | } |