<commit_before>package org.usfirst.frc4915.MecanumDrive.subsystems;

import org.usfirst.frc4915.MecanumDrive.RobotMap;

import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;

public class Grabber extends Subsystem {

	// Put methods for controlling this subsystem
	// here. Call these from Commands.

	Solenoid primarySolenoid = RobotMap.primarySolenoid;
	Solenoid secondarySolenoid = RobotMap.secondarySolenoid;

	public void initDefaultCommand() {
		// Set the default command for a subsystem here.
		// setDefaultCommand(new MySpecialCommand());
	}

	/**
	 * Extend the large piston. This will move arms to position for picking up
	 * wide totes.
	 */
	public void open() {
		primarySolenoid.set(true);
	}

	/**
	 * Retract the large piston. This will go the position for grabbing narrow
	 * totes.
	 */
	public void close() {
		primarySolenoid.set(false);
	}<commit_msg>Minor changes to the grabber.java<commit_after>package org.usfirst.frc4915.MecanumDrive.subsystems;

import org.usfirst.frc4915.MecanumDrive.RobotMap;

import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;

public class Grabber extends Subsystem {

	// Put methods for controlling this subsystem
	// here. Call these from Commands.

	Solenoid primarySolenoid = RobotMap.primarySolenoid;
	Solenoid secondarySolenoid = RobotMap.secondarySolenoid;

	public void initDefaultCommand() {
		// Set the default command for a subsystem here.
		// setDefaultCommand(new MySpecialCommand());
	}

	/**
	 * Extend the large piston. This will move arms to position for picking up
	 * wide totes.
	 */
	public void open() {
		primarySolenoid.set(false);
	}

	/**
	 * Retract the large piston. This will go the position for grabbing narrow
	 * totes.
	 */
	public void close() {
		primarySolenoid.set(true);
	}
{'fraction_non_alphanumeric': 0.09407484407484408, 'fraction_numerical': 0.008316008316008316, 'mean_word_length': 4.11968085106383, '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': '6443725', 'n_tokens_mistral': 679, 'n_tokens_neox': 623, 'n_words': 166}