<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.carbonauts.frc2014;

/**
 *
 * @author <NAME>.
 */
public class Constants {
    
    //Declare constants of the PWM ports of specified motors
    //TODO rewrite values with correct correspondance to the robot.
    public static final int DRIVE_LEFT_FRONT = 1;
    public static final int DRIVE_LEFT_REAR = 2;
    public static final int DRIVE_RIGHT_FRONT = 3;
    public static final int DRIVE_RIGHT_REAR = 4;
    public static final int PICKUP_PIVOT = 5;
    public static final int PICKUP_INTAKE = 6;
    public static final int SHIFTER_SOLENOID = 7;
    
    //Declare Digital IO ports of digital sensors
    public static final int LIMIT_PICKUP_FORWARD = 1;
    public static final int LIMIT_PICKUP_RESTING = 2;
    public static final int LIMIT_PICKUP_REVERSE = 3;
    
    /*
     * Declare channels for Driver Station Data. For use with 
     * "getDigitalIn(int channel)", 
     * "getAnalogIn(int channel)"
     * "setDigitalOut(int channel)"
     */
    public static final int DS_DIGITAL_1 = 1;
    public static final int DS_DIGITAL_2 = 2;
    public static final int DS_DIGITAL_3 = 3;
    public static final int DS_DIGITAL_4 = 4;
    public static final int DS_DIGITAL_5 = 5;
    public static final int DS_DIGITAL_6 = 6;
    public static final int DS_DIGITAL_7 = 7;
    public static final int DS_DIGITAL_8 = 8;
    
    public static final int DS_ANALOG_1 = 1;
    public static final int DS_ANALOG_2 = 2;
    public static final int DS_ANALOG_3 = 3;
    public static final int DS_ANALOG_4 = 4;<commit_msg>Changed some constant names to reflect pseudocode documentation<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.carbonauts.frc2014;

/**
 *
 * @author <NAME>.
 */
public class Constants {
    
    //Declare constants of the PWM ports of specified motors
    //TODO rewrite values with correct correspondance to the robot.
    public static final int DRIVE_LEFT_FRONT = 1;
    public static final int DRIVE_LEFT_REAR = 2;
    public static final int DRIVE_RIGHT_FRONT = 3;
    public static final int DRIVE_RIGHT_REAR = 4;
    public static final int PICKUP_PIVOT = 5;
    public static final int PICKUP_ROLLERS = 6;
    
    //Solenoid outputs
    public static final int SHIFTER_SOLENOID = 1;
    
    //Declare Digital IO ports of digital sensors
    public static final int FRONT_ARM_LIMIT_SWITCH = 1;
    public static final int RESTING_ARM_LIMIT_SWITCH = 2;
    public static final int REAR_ARM_LIMIT_SWITCH = 3;
    public static final int PASSING_LIMIT_SWITCH = 4;
    public static final int THROWING_LIMIT_SWITCH = 5;
    
    //Joystick buttons
    //to-do: add final button values
    public static final int THROW_BUTTON = 1;
    public static final int PASS_BUTTON = 1;
    public static final int ARM_FRONT_BUTTON = 2;
    public static final int ARM_RESTING_BUTTON = 3;
    public static final int ARM_REAR_BUTTON = 4;
    public static final int ROLLER_ON_BUTTON = 5;
    public static final int REVERSE_DRIVE_BUTTON = 6;

            
    /*
     * Declare channels for Driver Station Data. For use with 
     * "getDigitalIn(int channel)", 
     * "getAnalogIn(int channel)"
     * "setDigitalOut(int channel)"
     */
    public static final int DS_DIGITAL_1 = 1;
    public static final int DS_DIGITAL_2 = 2;
    public static final int DS_DIGITAL_3 = 3;
    public static final int DS_DIGITAL_4 = 4;
    public static final int DS_DIGITAL_5 = 5;
    public static final int DS_DIGITAL_6 = 6;
    public static final int DS_DIGITAL_7 = 7;
    public static final int DS_DIGITAL_8 = 8;
    
    public static final int DS_ANALOG_1 = 1;
    public static final int DS_ANALOG_2 = 2;
    public static final int DS_ANALOG_3 = 3;
    public static final int DS_ANALOG_4 = 4;
{'fraction_non_alphanumeric': 0.05673758865248227, 'fraction_numerical': 0.02078747860112497, 'mean_word_length': 3.0981963927855714, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '920810', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1249, 'n_words': 481}