package org.usfirst.frc.team2586.robot.commands;

import edu.wpi.first.wpilibj.command.Command;

public abstract class TimedCommand extends Command {
	
	/**
	 * Duration in seconds of the command
	 */
	private final double duration;
	
	
	/**
	 * @param title String identifier for the command
	 * @param duration How long, in seconds, the command takes to complete
	 */
	public TimedCommand(String title, double duration) {
		super(title);
		
		this.duration = duration;
	}
	

	@Override
	protected boolean isFinished() {
		return this.timeSinceInitialized() > duration;
	}

}

@@ -154,93 +154,8 @@
 /**%0A
-%09 * Duration in seconds of the command%0A%09 */%0A%09private final double duration;%0A%09%0A%09%0A%09/**%0A
 %09 * 
@@ -362,27 +362,27 @@
 his.
-duration = 
+setTimeout(
 duration
 ;%0A%09%7D
@@ -373,24 +373,25 @@
 out(duration
+)
 ;%0A%09%7D%0A%09%0A%0A%09@Ov
@@ -449,41 +449,20 @@
 his.
-timeSinceInitialized() %3E duration
+isTimedOut()
 ;%0A%09%7D

Use timeout for TimedCommand