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