99965ceffbb52dd697ade5c9c24d6b8068a61909
1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
6 * This command will drive the robot through the moat.
8 * pre-condition: robot is flush against the ramp of the outerworks in front of
11 * post-condition: the robot has passed the moat and is in the next zone
13 * @author Meryem and Avi
17 public class PassMoat
extends CommandGroup
{
19 private final double BEG_TIME
= 0;
20 private final double MID_TIME
= 0;
21 private final double END_TIME
= 0;
22 private final double BEG_SPEED
= 0;
23 private final double MID_SPEED
= 0;
24 private final double END_SPEED
= 0;
27 addSequential(new DriveForTime(BEG_TIME
, BEG_SPEED
));
28 addSequential(new DriveForTime(MID_TIME
, MID_SPEED
));
29 addSequential(new DriveForTime(END_TIME
, END_SPEED
));