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