/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.wpilibj.templates.commands;

/**
 *
 * @author TJ2
 */
public class KickerAuto extends CommandBase {
    double timeout;
    double power = 1;
    public KickerAuto(double time) {
        super("kicker auto");
        requires(kicker);
        timeout = time;
        // Use requires() here to declare subsystem dependencies
        // eg. requires(chassis);
    }

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

    // Called repeatedly when this Command is scheduled to run
    protected void execute() {
        kicker.KickerOpenLoop(power);
    }

    // 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() {
        kicker.KickerOpenLoop(0);
    }

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

@@ -150,16 +150,66 @@
 nds;%0D%0A%0D%0A
+import edu.wpi.first.wpilibj.templates.Wiring;%0D%0A%0D%0A
 /**%0D%0A *%0D
@@ -321,9 +321,26 @@
 r = 
-1
+Wiring.kickerPower
 ;%0D%0A 

Add wiring constant for kicker power