package com.team254.frc2013.commands;

/**
 * Checks the auton timer and blocks if there is not enough time left
 *
 * @author pat@team254.com (Patrick Fairbank)
 */
public class CheckAutonTimerCommand extends CommandBase {
  private double timeRequiredSec;

  public CheckAutonTimerCommand(double timeRequiredSec) {
    this.timeRequiredSec = timeRequiredSec;
  }

  protected void initialize() {
  }

  protected void execute() {
  }

  protected boolean isFinished() {
    return 15 - autonTimer.get() > timeRequiredSec;
  }

  protected void end() {
  }

  protected void interrupted() {
  }
}

@@ -32,16 +32,61 @@
 mands;%0A%0A
+import edu.wpi.first.wpilibj.DriverStation;%0A%0A
 /**%0A * C
@@ -150,16 +150,17 @@
 ime left
+.
 %0A *%0A * @
@@ -522,16 +522,64 @@
  return 
+!DriverStation.getInstance().isAutonomous() %7C%7C (
 15 - aut
@@ -601,32 +601,33 @@
  timeRequiredSec
+)
 ;%0A  %7D%0A%0A  protect

Make CheckAutonTimer only apply to autonomous mode