<commit_before>package edu.wpi.first.wpilibj.templates.subsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.commands.RunFrisbeeDumperSolenoid;
import edu.wpi.first.wpilibj.templates.variablestores.VstM;

/**
 *
 * @author daboross
 */
public class FrisbeeDumperSolenoid extends Subsystem {

    private Solenoid solenoid;

    public FrisbeeDumperSolenoid() {
        System.out.println("SubSystem Created: FrisbeeDumperSolenoid");
        solenoid = new Solenoid(VstM.SOLENOID.FRISBEE_DUMP);
        solenoid.set(false);
    }

    protected void initDefaultCommand() {
        setDefaultCommand(new RunFrisbeeDumperSolenoid());
    }

    public void startExpand() {
        solenoid.set(true);
    }
}<commit_msg>Use 2 solenoids instead of 1. Also have startExpand and startRetract instead of just one.<commit_after>package edu.wpi.first.wpilibj.templates.subsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.commands.RunFrisbeeDumperSolenoid;
import edu.wpi.first.wpilibj.templates.variablestores.VstM;

/**
 *
 * @author daboross
 */
public class FrisbeeDumperSolenoid extends Subsystem {

    private Solenoid solenoid1, solenoid2;

    public FrisbeeDumperSolenoid() {
        System.out.println("SubSystem Created: FrisbeeDumperSolenoid");
        solenoid1 = new Solenoid(VstM.SOLENOID.FRISBEE_DUMP_1);
        solenoid1.set(false);
        solenoid2 = new Solenoid(VstM.SOLENOID.FRISBEE_DUMP_2);
        solenoid2.set(false);
    }

    protected void initDefaultCommand() {
        setDefaultCommand(new RunFrisbeeDumperSolenoid());
    }

    public void startExpand() {
        solenoid1.set(true);
        solenoid1.set(false);
    }
    public void startRetract(){
        solenoid2.set(true);
        solenoid1.set(false);
    }
}
{'fraction_non_alphanumeric': 0.102711157455683, 'fraction_numerical': 0.0072992700729927005, 'mean_word_length': 3.726600985221675, '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': '3635432', 'n_tokens_mistral': 699, 'n_tokens_neox': 671, 'n_words': 101}