undo previous commit
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRockWall.java
CommitLineData
6bb7f8ac 1package org.usfirst.frc.team3501.robot.commands.auton;
d607dcbb 2
1fb6ed96
ME
3import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime;
4
ebae4bde 5import edu.wpi.first.wpilibj.command.CommandGroup;
d607dcbb
ME
6
7/***
8 * This command will drive the robot through the rock wall.
9 *
1fb6ed96
ME
10 * dependency on subsystems: drivetrain
11 *
12 * dependency on other commands: DriveForTime
13 *
d607dcbb
ME
14 * pre-condition: robot is flush against the ramp of the outerworks in front of
15 * the rock wall
16 *
17 * post-condition: the robot has passed the rock wall and is in the next zone
18 *
19 * @author Meryem and Avi
20 *
21 */
d607dcbb 22
dba0b9ad 23public class PassRockWall extends CommandGroup {
d607dcbb 24
dba0b9ad 25 private final double time = 0, speed =0;
d607dcbb 26
dba0b9ad 27 public PassRockWall() {
d607dcbb 28
dba0b9ad 29 addSequential(new DriveForTime(time, speed));
d607dcbb 30
d607dcbb
ME
31 }
32}