package storm2014.commands;

import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.util.AllocationException;
import storm2014.Robot;
//import storm2014.subsystems.LEDStrip;

//Not Tested
public abstract class Launch extends CommandGroup {
    // Tension More or less and then backtrack
    public Launch(){
        if(!thisIsIntentional()) {
            throw new AllocationException("Launch should only be run if you want to");
        }
        addSequential(new SetArmPosition(2));
        addSequential(new SetWinchEngaged(false));
        addSequential(new SetLatched(false));
        addSequential(new WaitForFollowThrough());
        addSequential(new SetWinchEngaged(true));
        addSequential(new SetEngagedRatchet(false));
        Robot.catapult.setFinishedPreLaunch(false);
        //addSequential(new PullBack(100));
    }    
    
    protected abstract boolean thisIsIntentional();
}
@@ -152,16 +152,54 @@
 .Robot;%0A
+import storm2014.subsystems.LEDStrip;%0A
 //import
@@ -496,16 +496,74 @@
       %7D%0A
+        addSequential(new SetLEDMode(LEDStrip.PileMode));%0A
         
@@ -689,32 +689,103 @@
 atched(false));%0A
+        addSequential(new SetLEDMode(LEDStrip.RainbowDancePartyMode));%0A
         addSeque
@@ -974,16 +974,16 @@
 false);%0A
-
         
@@ -1014,24 +1014,84 @@
 Back(100));%0A
+        addSequential(new SetLEDMode(LEDStrip.TeleopMode));%0A
     %7D    %0A  

Add LEDModes to launch