9b08d1fa57930dcfde17503097101d301dcd174f
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / autons / PickUpContainer.java
1 package org.usfirst.frc.team3501.robot.autons;
2
3 import org.usfirst.frc.team3501.robot.RobotMap;
4 import org.usfirst.frc.team3501.robot.commands.*;
5
6 import edu.wpi.first.wpilibj.command.CommandGroup;
7
8 public class PickUpContainer extends CommandGroup {
9
10 public PickUpContainer() {
11 super("PickUpContainer");
12
13 queueCommands();
14 }
15
16 private void queueCommands() {
17 addSequential(new CloseClaw());
18 addSequential(new MoveArmFor(RobotMap.PICKUP_TIME, RobotMap.PICKUP_SPEED));
19 }
20 }