make 'pass' commands for all the defenses that just have to be driven over
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / PassRampart.java
CommitLineData
d607dcbb
ME
1package org.usfirst.frc.team3501.robot.commands;
2
3import edu.wpi.first.wpilibj.command.Command;
4
5/***
6 * This command will drive the robot through the rampart.
7 *
8 * pre-condition: robot is flush against the ramp of the outerworks in front of
9 * the rampart
10 *
11 * post-condition: the robot has passed the rampart and is in the next zone
12 *
13 * @author Meryem and Avi
14 *
15 */
16public class PassRampart extends Command {
17
18 public PassRampart() {
19 // Use requires() here to declare subsystem dependencies
20 // eg. requires(chassis);
21 }
22
23 // Called just before this Command runs the first time
24 @Override
25 protected void initialize() {
26 }
27
28 // Called repeatedly when this Command is scheduled to run
29 @Override
30 protected void execute() {
31 }
32
33 // Make this return true when this Command no longer needs to run execute()
34 @Override
35 protected boolean isFinished() {
36 return false;
37 }
38
39 // Called once after isFinished returns true
40 @Override
41 protected void end() {
42 }
43
44 // Called when another command which requires one or more of the same
45 // subsystems is scheduled to run
46 @Override
47 protected void interrupted() {
48 }
49}