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