// RobotBuilder Version: 1.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code or it will be lost on an
// update. Deleting the comments indicating the section will prevent
// it from being updated in the future.
package org.usfirst.frc8889.BBJWG.commands;
import edu.wpi.first.wpilibj.GenericHID;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc8889.BBJWG.Robot;
import org.usfirst.frc8889.BBJWG.XboxController;
/**
 *
 */
public class  ShooterControl extends Command {
    public ShooterControl() {
        // Use requires() here to declare subsystem dependencies
        // eg. requires(chassis);
        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
        requires(Robot.shooter);
    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
    }
    // Called just before this Command runs the first time
    protected void initialize() {
    }
    // Called repeatedly when this Command is scheduled to run
    protected void execute() {
        Robot.shooter.shoot(- (Robot.oi.xbox1.getAxis(XboxController.AxisType.kTrigger)));
    }
    // Make this return true when this Command no longer needs to run execute()
    protected boolean isFinished() {
        return false;
    }
    // Called once after isFinished returns true
    protected void end() {
        // Robot.shooter.stop();
    }
    // Called when another command which requires one or more of the same
    // subsystems is scheduled to run
    protected void interrupted() {
        // Robot.shooter.stop();
    }
}

@@ -1601,24 +1601,58 @@
 id end() %7B%0D%0A
+        // should not get called%0D%0A
         // R
@@ -1829,35 +1829,32 @@
 ted() %7B%0D%0A       
- //
  Robot.shooter.s

Set Shooter motor speed to zero on interrupt