UPenn-RoboCup/UPennalizers — Issue #11: Magic Number Arrays in Config Files
Author: brindza
Created: 2011-11-05 14:02:53+00:00
State: open

There are a number of 'magic number' array parameters in the config files.

e.g.
gyro_stab format:
Parameters listed below are used in the gyro stabilization code
Parameters in the tables are {alpha, gyro gain, xxx, deadband}
Alpha alters how quickly the torque is applied in response to perturbation
Gain alters how much torque is applied in response to perturbation
xxx
Deadband defines the range of values that will not be considered as perturbation

There is no reason these should not just be tables with keys that are informative.