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
index 6e3e59ae7d60bcb60746c21d0feebf88aaa5349b..b1102d13fe2f4e860677b0ba8391ca484b66de8e 100644 (file)
@@ -1,5 +1,6 @@
 package org.usfirst.frc.team3501.robot.commands.auton;
 
+import org.usfirst.frc.team3501.robot.Robot;
 import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArmToAngle;
 import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
 
@@ -11,8 +12,8 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class CompactRobot extends CommandGroup {
 
   public CompactRobot() {
-    addParallel(new MoveIntakeArmToAngle(IntakeArm.potAngles[3],
+    addSequential(new MoveIntakeArmToAngle(IntakeArm.potAngles[3],
         IntakeArm.moveIntakeArmSpeed));
-
+    Robot.shooter.closeHood();
   }
 }