Commit | Line | Data |
---|---|---|
d4ccb8f6 ME |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
1fb6ed96 ME |
3 | import org.usfirst.frc.team3501.robot.commands.driving.DriveForTime; |
4 | ||
d4ccb8f6 ME |
5 | import edu.wpi.first.wpilibj.command.CommandGroup; |
6 | ||
7 | /*** | |
8 | * This command will drive the robot through the rock wall. | |
9 | * | |
81b4502d ME |
10 | * dependency on subsystems: drivetrain |
11 | * | |
12 | * dependency on other commands: DriveForTime | |
13 | * | |
d4ccb8f6 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 | */ | |
22 | ||
d4ccb8f6 ME |
23 | public class PassRockWall extends CommandGroup { |
24 | ||
25 | private final double BEG_TIME = 0; | |
26 | private final double MID_TIME = 0; | |
27 | private final double END_TIME = 0; | |
28 | private final double BEG_SPEED = 0; | |
29 | private final double MID_SPEED = 0; | |
30 | private final double END_SPEED = 0; | |
31 | ||
32 | public PassRockWall() { | |
33 | ||
34 | addSequential(new DriveForTime(BEG_TIME, BEG_SPEED)); | |
35 | addSequential(new DriveForTime(MID_TIME, MID_SPEED)); | |
36 | addSequential(new DriveForTime(END_TIME, END_SPEED)); | |
37 | ||
38 | } | |
39 | } |