package org.usfirst.frc.team2791.competitionSubsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.Talon;
import org.usfirst.frc.team2791.abstractSubsystems.AbstractShakerIntake;
import org.usfirst.frc.team2791.util.Constants;


public class ShakerIntake extends AbstractShakerIntake {
    private Solenoid intakeSolenoid;
    private Solenoid armAttachment;

    public ShakerIntake() {
        // init
        super();
        leftIntakeMotor = new Talon(Constants.INTAKE_TALON_LEFT_PORT);
        rightIntakeMotor = new Talon(Constants.INTAKE_TALON_RIGHT_PORT);
        intakeSolenoid = new Solenoid(Constants.PCM_MODULE, Constants.INTAKE_PISTON);
        armAttachment = new Solenoid(Constants.PCM_MODULE,Constants.FUN_BRIDGE_ARM_PORT);
        init();
    }

    public void internalRetractIntake() {
        // bring intake back behind bumpers
        intakeSolenoid.set(false);

    }

    public void internalExtendIntake() {
        // extends the intake for ball  pickup
        intakeSolenoid.set(true);

    }

    public IntakeState getSolenoidState() {
        // returns state of intake in form of the enum IntakeState
        if (!intakeSolenoid.get())
            return IntakeState.RETRACTED;
        else if (intakeSolenoid.get())
            return IntakeState.EXTENDED;
        else
            return IntakeState.EXTENDED;
    }

    public void setArmAttachmentUp() {
//    	System.out.println("I moving the little flipper up");
        armAttachment.set(false);
    }

    public void setArmAttachmentDown() {
//    	System.out.println("I moving the little flipper down");
        armAttachment.set(true);
    }


    public boolean getArmAttachementUp() {
        return !armAttachment.get();
    }

    public void run() {

    }
}
@@ -692,99 +692,8 @@
 );%0D%0A
-        armAttachment = new Solenoid(Constants.PCM_MODULE,Constants.FUN_BRIDGE_ARM_PORT);%0D%0A
     
@@ -1344,396 +1344,8 @@
 oid 
-setArmAttachmentUp() %7B%0D%0A//    %09System.out.println(%22I moving the little flipper up%22);%0D%0A        armAttachment.set(false);%0D%0A    %7D%0D%0A%0D%0A    public void setArmAttachmentDown() %7B%0D%0A//    %09System.out.println(%22I moving the little flipper down%22);%0D%0A        armAttachment.set(true);%0D%0A    %7D%0D%0A%0D%0A%0D%0A    public boolean getArmAttachementUp() %7B%0D%0A        return !armAttachment.get();%0D%0A    %7D%0D%0A%0D%0A    public void 
 run(
@@ -1359,8 +1359,10 @@
     %7D%0D%0A%7D
+%0D%0A

Update ShakerIntake.java