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