use constants in PassLowBar
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
1 package org.usfirst.frc.team3501.robot.commands.auton;
2
3 import org.usfirst.frc.team3501.robot.Constants.Auton;
4 import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
5 import org.usfirst.frc.team3501.robot.commands.driving.TimeDrive;
6 import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArm;
7
8 import edu.wpi.first.wpilibj.command.CommandGroup;
9
10 /**
11 *
12 */
13 public class PassLowBar extends CommandGroup {
14
15 public PassLowBar() {
16 addSequential(new MoveIntakeArm(IntakeArm.EXTEND));
17 addSequential(new TimeDrive(Auton.LOW_BAR_TIME, Auton.LOW_BAR_SPEED));
18 }
19 }