Commit | Line | Data |
---|---|---|
e81578e3 LH |
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 | } |