UPenn-RoboCup/UPennalizers

Magic Number Arrays in Config Files

Closed this issue · 0 comments

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.