/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.practiceRobot.subsystems;

import com.practiceRobot.subsystems.interfaces.IShooter;

/**
 *
 * @author Manu S.
 */
public class Shooter extends BadSubsystem implements IShooter
{

    private static Shooter instance;
    
    public Shooter getInstance()
    {
        if(instance == null)
        {
            instance = new Shooter();
        }
        
        return instance;
    }
    
    protected void initialize() 
    {
    }

    public String getConsoleIdentity() 
    {
        return "Shooter";
    }

    protected void initDefaultCommand() 
    {
    }
    
}

@@ -167,38 +167,158 @@
 bot.
-subsystems.interfaces.IShooter
+RobotMap;%0D%0Aimport com.practiceRobot.subsystems.interfaces.IShooter;%0D%0Aimport edu.wpi.first.wpilibj.SpeedController;%0D%0Aimport edu.wpi.first.wpilibj.Talon
 ;%0D%0A%0D
@@ -418,18 +418,57 @@
 ter%0D%0A%7B%0D%0A
+    private SpeedController controller;
 %0D%0A
-
     priv
@@ -680,24 +680,127 @@
    %7D%0D%0A    %0D%0A
+    private Shooter()%0D%0A    %7B%0D%0A        controller = new Talon(RobotMap.shooterSpeedPort);%0D%0A    %7D%0D%0A    %0D%0A
     protecte
@@ -959,24 +959,24 @@
 Command() %0D%0A
-
     %7B%0D%0A    %7D
@@ -972,22 +972,111 @@
    %7B%0D%0A    %7D%0D
+%0A%0D%0A    public void setSpeed(double speed) %0D%0A    %7B%0D%0A        controller.set(speed);%0D%0A    %7D%0D
 %0A    %0D%0A%7D%0D%0A

finished? Shooter