| 1 | package org.usfirst.frc.team3501.robot.autons; |
| 2 | |
| 3 | import org.usfirst.frc.team3501.robot.Robot; |
| 4 | |
| 5 | import edu.wpi.first.wpilibj.command.CommandGroup; |
| 6 | |
| 7 | public class ContainerOverStep extends CommandGroup { |
| 8 | |
| 9 | public ContainerOverStep() { |
| 10 | super("ContainerOverStep"); |
| 11 | |
| 12 | requires(Robot.drivetrain); |
| 13 | requires(Robot.arm); |
| 14 | requires(Robot.claw); |
| 15 | |
| 16 | queueCommands(); |
| 17 | } |
| 18 | |
| 19 | private void queueCommands() { |
| 20 | addSequential(new PickUpContainer()); |
| 21 | addSequential(new DriveOverStep(-1)); |
| 22 | } |
| 23 | } |