Often we have constants in the Constants.java file that are tunable. Ideally, we should have a way to change them if circumstances warrant it. We would still like to assign them to the same constant field names and have them be static final. We should also log the values to the telemetry. But allow them to be changed via the prefs interface. They would be read once at robot startup (changing them would require a reboot of the software).
Often we have constants in the Constants.java file that are tunable. Ideally, we should have a way to change them if circumstances warrant it. We would still like to assign them to the same constant field names and have them be static final. We should also log the values to the telemetry. But allow them to be changed via the prefs interface. They would be read once at robot startup (changing them would require a reboot of the software).