Created skeleton code for the align shooter commandgroups
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commandgroups / MiddlePegAlign.java
1 package org.usfirst.frc.team3501.robot.commandgroups;
2
3 import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
4 import org.usfirst.frc.team3501.robot.commands.driving.TurnForAngle;
5
6 import edu.wpi.first.wpilibj.command.CommandGroup;
7
8 /**
9 *
10 */
11 public class MiddlePegAlign extends CommandGroup {
12
13 public MiddlePegAlign() {
14 addSequential(new DriveDistance(0, 0));
15 addSequential(new TurnForAngle(0, LEFT, 0));
16 addSequential(new DriveDistance(0, 0));
17 addSequential(new PrepareToShoot());
18 }
19 }