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