<commit_before>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() {

    }
}<commit_msg>Update ShakerIntake.java<commit_after>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);
        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 run() {

    }
}

{'fraction_non_alphanumeric': 0.08267236119585113, 'fraction_numerical': 0.007321537522879805, 'mean_word_length': 2.5220193340494093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3873241', 'n_tokens_mistral': 1076, 'n_tokens_neox': 994, 'n_words': 195}