add command to close hood on Compactrobot, and implement compactRobot when scaling
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / CompactRobot.java
CommitLineData
246a613b
CZ
1package org.usfirst.frc.team3501.robot.commands.auton;
2
2f79a795 3import org.usfirst.frc.team3501.robot.Robot;
56d14d98
CZ
4import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArmToAngle;
5import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
6
7import edu.wpi.first.wpilibj.command.CommandGroup;
246a613b
CZ
8
9/**
10 *
11 */
56d14d98 12public class CompactRobot extends CommandGroup {
246a613b
CZ
13
14 public CompactRobot() {
2f79a795 15 addSequential(new MoveIntakeArmToAngle(IntakeArm.potAngles[3],
56d14d98 16 IntakeArm.moveIntakeArmSpeed));
2f79a795 17 Robot.shooter.closeHood();
246a613b
CZ
18 }
19}