Commit | Line | Data |
---|---|---|
6bb7f8ac | 1 | package org.usfirst.frc.team3501.robot.commands.auton; |
d607dcbb | 2 | |
f34bca68 | 3 | import edu.wpi.first.wpilibj.command.CommandGroup; |
d607dcbb ME |
4 | |
5 | /*** | |
6 | * This command will drive the robot through the rampart. | |
7 | * | |
aa616af6 ME |
8 | * dependency on subsystems: drivetrain |
9 | * | |
10 | * dependency on other commands: DriveForTime | |
11 | * | |
d607dcbb ME |
12 | * pre-condition: robot is flush against the ramp of the outerworks in front of |
13 | * the rampart | |
14 | * | |
15 | * post-condition: the robot has passed the rampart and is in the next zone | |
16 | * | |
17 | * @author Meryem and Avi | |
18 | * | |
19 | */ | |
d607dcbb | 20 | |
f34bca68 | 21 | public class PassRampart extends CommandGroup { |
d607dcbb | 22 | |
f34bca68 | 23 | public PassRampart() { |
d607dcbb | 24 | |
f34bca68 ME |
25 | final double BEG_TIME = 0; |
26 | final double BEG_SPEED = 0; | |
27 | final double MID_TIME = 0; | |
28 | final double MID_SPEED = 0; | |
29 | final double END_TIME = 0; | |
30 | final double END_SPEED = 0; | |
d607dcbb | 31 | |
f34bca68 ME |
32 | addSequential(new DriveForTime(BEG_TIME, BEG_SPEED)); |
33 | addSequential(new DriveForTime(MID_TIME, MID_SPEED)); | |
34 | addSequential(new DriveForTime(END_TIME, END_SPEED)); | |
d607dcbb | 35 | |
d607dcbb ME |
36 | } |
37 | ||
d607dcbb | 38 | } |