package storm2014.commands.autonomous;

import edu.wpi.first.wpilibj.command.CommandGroup;
import storm2014.commands.Conditional;
import storm2014.commands.DriveForward;
import storm2014.commands.Launch;
import storm2014.commands.TurnAndShootDynamic;
import storm2014.subsystems.VisionSystem;

public class OneBallDynamic extends CommandGroup {
    private static final double DISTANCE = 2000,
                                DRIVE_SPEED = 0.6;   
    public OneBallDynamic(boolean isRight) { 
        addSequential(new Conditional(new TurnAndShootDynamic(isRight,DRIVE_SPEED),new Launch()) {
            protected boolean condition() {
                return !VisionSystem.foundHotTarget();
            }
        });
        addSequential(new DriveForward(DRIVE_SPEED, DISTANCE));
    }
  }
@@ -439,9 +439,9 @@
 = 0.
-6
+5
 ;   

Change drive speed in OneBallDynamic autonomous mode