/*
 * 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 edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Talon;

/**
 *
 * @author Steven
 */
public class Constants {
    public static final int PWM_DRIVE_FL = 4;
    public static final int PWM_DRIVE_RL = 3;
    public static final int PWM_DRIVE_FR = 2;
    public static final int PWM_DRIVE_RR = 1;
    public static final int PWM_THROWER_RIGHT = 5;
    public static final int PWM_THROWER_LEFT = 6;
    
    public static final int ANGLE_CHANNEL_A = 1;
    public static final int ANGLE_CHANNEL_B = 2;
    public static final int SONIC_RIGHT_CHANNEL = 1;
    public static final int SONIC_LEFT_CHANNEL = 2;
    
    static Talon leftForward = new Talon(PWM_DRIVE_FL);
    static Talon leftBackward = new Talon(PWM_DRIVE_RL);
    static Talon rightForward = new Talon(PWM_DRIVE_FR);
    static Talon rightBackward = new Talon(PWM_DRIVE_RR);
    
    public static final int JB_DRIVE_SLOW = 2;
    
    public static final double TIMER_DELAY_SECS = .01;
    
    double[] throwerSpeedVals = new double[10];
    int[] throwerArcVals = new int[10];
    int[] throwerDistanceVals = new int[10];

}

/*
 * 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 edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Talon;

/**
 *
 * @author Steven
 */
public class Constants {
    
    // PWMs
    // Let's change abbreviations to use words FRONT, REAR, LEFT, RIGHT
    public static final int PWM_DRIVE_FL = 4;
    public static final int PWM_DRIVE_RL = 3;
    public static final int PWM_DRIVE_FR = 2;
    public static final int PWM_DRIVE_RR = 1;
    public static final int PWM_THROWER_RIGHT = 5;
    public static final int PWM_THROWER_LEFT = 6;
    
    // DIOs
    // Change thse names to DIO_THROWER_ENCODER_A & B
    public static final int ANGLE_CHANNEL_A = 1;
    public static final int ANGLE_CHANNEL_B = 2;
    
    // Analog Inputs
    public static final int SONIC_RIGHT_CHANNEL = 1;
    public static final int SONIC_LEFT_CHANNEL = 2;
    
    // Relays
    
    
    // Drive Motors
    // Change these names to use Front/Rear and then Left/Right
    static Talon leftForward = new Talon(PWM_DRIVE_FL);
    static Talon leftBackward = new Talon(PWM_DRIVE_RL);
    static Talon rightForward = new Talon(PWM_DRIVE_FR);
    static Talon rightBackward = new Talon(PWM_DRIVE_RR);
    
    // Joystick Buttons
    public static final int JB_DRIVE_SLOW = 2;
    
    
    // Miscellaneous
    // Change name to TELEOP_LOOP_DELAY_SECS
    public static final double TIMER_DELAY_SECS = .01;
    
    // Thrower parameters
    double[] throwerSpeedVals = new double[10];
    int[] throwerArcVals = new int[10];
    int[] throwerDistanceVals = new int[10];

}

Update Constants.java