rearrange a few more files. realize that adding the auton read from file thing was...
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / autons / PickUpContainer.java
CommitLineData
e81578e3
LH
1package org.usfirst.frc.team3501.robot.autons;
2
5b3b1652 3import org.usfirst.frc.team3501.bases.CommandGroup;
e81578e3
LH
4import org.usfirst.frc.team3501.robot.commands.*;
5
e81578e3
LH
6public class PickUpContainer extends CommandGroup {
7
8 public PickUpContainer() {
9 super("PickUpContainer");
10
f139e313
LH
11 requires(arm);
12 requires(claw);
3cd438bd 13
e81578e3
LH
14 queueCommands();
15 }
16
17 private void queueCommands() {
18 addSequential(new CloseClaw());
b2640783 19 addSequential(new MoveArmFor(
f139e313
LH
20 autonData.getTime("pickup_container"),
21 autonData.getSpeed("pickup_container")));
e81578e3
LH
22 }
23}