change location of base files
[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;
3cd438bd 4import org.usfirst.frc.team3501.robot.Robot;
e81578e3
LH
5import org.usfirst.frc.team3501.robot.commands.*;
6
e81578e3
LH
7public class PickUpContainer extends CommandGroup {
8
9 public PickUpContainer() {
10 super("PickUpContainer");
11
3cd438bd
LH
12 requires(Robot.arm);
13 requires(Robot.claw);
14
e81578e3
LH
15 queueCommands();
16 }
17
18 private void queueCommands() {
19 addSequential(new CloseClaw());
b2640783
LH
20 addSequential(new MoveArmFor(
21 Robot.autonData.getTime("pickup_container"),
22 Robot.autonData.getSpeed("pickup_container")));
e81578e3
LH
23 }
24}