package org.robockets.stronghold.robot.highgoalshooter;

import edu.wpi.first.wpilibj.command.Command;
import org.robockets.stronghold.robot.Robot;

/**
 * Roll the jeff rollers to fire a cannonball.
 */
public class FireShooter extends Command {

    public FireShooter() {
        // Use requires() here to declare subsystem dependencies
        // eg. requires(chassis);
    }

    // Called just before this Command runs the first time
    protected void initialize() {
    	setTimeout(0.7);
    }

    // Called repeatedly when this Command is scheduled to run
    protected void execute() {
    	Robot.shooter.spinJeffRollers(1);
    }

    // Make this return true when this Command no longer needs to run execute()
    protected boolean isFinished() {
        return isTimedOut();
    }

    // Called once after isFinished returns true
    protected void end() {
    	Robot.shooter.spinJeffRollers(0);
    }

    // Called when another command which requires one or more of the same
    // subsystems is scheduled to run
    protected void interrupted() {
    	end();
    }
}

@@ -280,15 +280,8 @@
     
-// Use 
 requ
@@ -289,431 +289,170 @@
 res(
-) here to declare subsystem dependencies%0A        // eg. requires(chassis);%0A    %7D%0A%0A    // Called just before this Command runs the first time%0A    protected void initialize() %7B%0A    %09setTimeout(0.7);%0A    %7D%0A%0A    // Called repeatedly when this Command is scheduled to run%0A    protected void execute() %7B%0A    %09Robot.shooter.spinJeffRollers(1);%0A    %7D%0A%0A    // Make this return true when this Command no longer needs to run execute()
+Robot.shooter);%0A    %7D%0A%0A    protected void initialize() %7B%0A    %09setTimeout(0.7);%0A    %7D%0A%0A    protected void execute() %7B%0A    %09Robot.shooter.spinJeffRollers(1);%0A    %7D%0A
 %0A   
@@ -525,57 +525,8 @@
  %7D%0A%0A
-    // Called once after isFinished returns true%0A
     
@@ -598,120 +598,8 @@
  %7D%0A%0A
-    // Called when another command which requires one or more of the same%0A    // subsystems is scheduled to run%0A
     

Fix FireShooter command.