implement code for PassRampart command group
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
1 package org.usfirst.frc.team3501.robot.commands.auton;
2
3 import edu.wpi.first.wpilibj.command.CommandGroup;
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 */
16
17 public class PassRampart extends CommandGroup {
18
19 public PassRampart() {
20
21 final double BEG_TIME = 0;
22 final double BEG_SPEED = 0;
23 final double MID_TIME = 0;
24 final double MID_SPEED = 0;
25 final double END_TIME = 0;
26 final double END_SPEED = 0;
27
28 addSequential(new DriveForTime(BEG_TIME, BEG_SPEED));
29 addSequential(new DriveForTime(MID_TIME, MID_SPEED));
30 addSequential(new DriveForTime(END_TIME, END_SPEED));
31
32 }
33
34 }