package edu.stuy;

/**
 * The RobotMap is a mapping from the ports sensors and actuators are wired into
 * to a variable name. This provides flexibility changing wiring, makes checking
 * the wiring easier and significantly reduces the number of magic numbers
 * floating around.
 */
public class RobotMap {
    // For example to map the left and right motors, you could define the
    // following variables to use with your drivetrain subsystem.
    // public static final int leftMotor = 1;
    // public static final int rightMotor = 2;
    
    // If you are using multiple modules, make sure to define both the port
    // number and the module. For example you with a rangefinder:
    // public static final int rangefinderPort = 1;
    // public static final int rangefinderModule = 1;

    /* USB PORTS */
    public static final int LEFT_JOYSTICK_PORT = 1;
    public static final int RIGHT_JOYSTICK_PORT = 2;

    /* PWM OUTPUTS */
    public static final int FRONT_LEFT_MOTOR = 1;
    public static final int REAR_LEFT_MOTOR = 2;
    public static final int FRONT_RIGHT_MOTOR = 3;
    public static final int REAR_RIGHT_MOTOR = 4;
    
    public static final int SHOOTER_UPPER_ROLLER = 5;
    public static final int SHOOTER_LOWER_ROLLER = 6;

    public static final int ACQUIRER_UPPER_ROLLER = 7;
    public static final int ACQUIRER_LOWER_ROLLER = 8;
    
    public static final int CONVEYOR_UPPER_ROLLER = 9;
    public static final int CONVEYOR_LOWER_ROLLER = 10;

    /* DIGITAL INPUTS */
    public static final int SHOOTER_UPPER_ROLLER_ENCODER_A = 1;
    public static final int SHOOTER_UPPER_ROLLER_ENCODER_B = 2;
    public static final int SHOOTER_LOWER_ROLLER_ENCODER_A = 3;
    public static final int SHOOTER_LOWER_ROLLER_ENCODER_B = 4;
    
    public static final int PRESSURE_SWITCH_CHANNEL = 5;

    /* RELAY OUTPUTS */
    public static final int COMPRESSOR_RELAY_CHANNEL = 1;

    /* SOLENOID */
    public static final int GEAR_SHIFT = 1;
    
    public static final int TUSKS_SOLENOID = 2;
}
package edu.stuy;

/**
 * The RobotMap is a mapping from the ports sensors and actuators are wired into
 * to a variable name. This provides flexibility changing wiring, makes checking
 * the wiring easier and significantly reduces the number of magic numbers
 * floating around.
 */
public class RobotMap {
    // For example to map the left and right motors, you could define the
    // following variables to use with your drivetrain subsystem.
    // public static final int leftMotor = 1;
    // public static final int rightMotor = 2;
    
    // If you are using multiple modules, make sure to define both the port
    // number and the module. For example you with a rangefinder:
    // public static final int rangefinderPort = 1;
    // public static final int rangefinderModule = 1;

    /* USB PORTS */
    public static final int LEFT_JOYSTICK_PORT = 1;
    public static final int RIGHT_JOYSTICK_PORT = 2;

    /* PWM OUTPUTS */
    public static final int FRONT_LEFT_MOTOR = 1;
    public static final int REAR_LEFT_MOTOR = 2;
    public static final int FRONT_RIGHT_MOTOR = 3;
    public static final int REAR_RIGHT_MOTOR = 4;
    
    public static final int SHOOTER_UPPER_ROLLER = 5;
    public static final int SHOOTER_LOWER_ROLLER = 6;

    public static final int ACQUIRER_UPPER_ROLLER = 7;
    public static final int ACQUIRER_LOWER_ROLLER = 8;
    
    public static final int CONVEYOR_UPPER_ROLLER = 9;
    public static final int CONVEYOR_LOWER_ROLLER = 10;

    /* DIGITAL INPUTS */
    public static final int SHOOTER_UPPER_ROLLER_ENCODER_A = 1;
    public static final int SHOOTER_UPPER_ROLLER_ENCODER_B = 2;
    public static final int SHOOTER_LOWER_ROLLER_ENCODER_A = 3;
    public static final int SHOOTER_LOWER_ROLLER_ENCODER_B = 4;
    
    public static final int PRESSURE_SWITCH_CHANNEL = 5; // For pneumatics compressor

    /* RELAY OUTPUTS */
    public static final int COMPRESSOR_RELAY_CHANNEL = 1;

    /* SOLENOID */
    public static final int GEAR_SHIFT = 1;
    
    public static final int TUSKS_SOLENOID = 2;
}
Update RobotMap to clarify constant usage