acc493d23e27f2df07fcd2f2fea662bb63f89897
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.auton
;
3 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
6 * This command will drive the robot through the rough terrain.
8 * pre-condition: robot is flush against the ramp of the outerworks in front of
11 * post-condition: the robot has passed the rough terrain and is in the next
14 * @author Meryem and Avi
17 public class PassRoughTerrain
extends CommandGroup
{
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;
24 private final double BEG_SPEED
= 0;
25 private final double MID_SPEED
= 0;
26 private final double END_SPEED
= 0;
28 public PassRoughTerrain() {
30 addSequential(new DriveForTime(BEG_TIME
, BEG_SPEED
));
31 addSequential(new DriveForTime(MID_TIME
, MID_SPEED
));
32 addSequential(new DriveForTime(END_TIME
, BEG_SPEED
));