Throughout the Robot's code, there will be many values, such as
motor ids or speed variables, which can possibly change depending on the
performance of the robot, these values should all be stored in the Constants
class. Each one of these variables should be declared as
public static final values. Then they can be referenced wherever
needed in the code.
In Constants:
    public static final int LEFT_FRONT_DRIVE_ID = 31;
        Now in RobotMap:
    LFDrive = new WPI_TalonSRX(Constants.LEFT_FRONT_DRIVE_ID)
© All Rights Reserved.