2839df3c3156d21751c58446820707e9fb8ada85
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.auton
;
3 import org
.usfirst
.frc
.team3501
.robot
.commands
.driving
.DriveForTime
;
5 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
8 * This command will drive the robot through the rock wall.
10 * dependency on subsystems: drivetrain
12 * dependency on other commands: DriveForTime
14 * pre-condition: robot is flush against the ramp of the outerworks in front of
17 * post-condition: the robot has passed the rock wall and is in the next zone
19 * @author Meryem and Avi
23 public class PassRockWall
extends CommandGroup
{
25 private final double time
= 0, speed
=0;
27 public PassRockWall() {
29 addSequential(new DriveForTime(time
, speed
));