RobotCasserole1736 / RobotCasserole2016

Robot Source Code for 2016 FRC Game
2 stars 0 forks source link

Create Global Config Tables class #24

Open gerth2 opened 8 years ago

gerth2 commented 8 years ago

Currently, global tune params and settings (ie, joystick button mappings, PID params, motor ports, etc) are all spread out into each individual class. For ease of tuning, it might be useful to collect these params into one or more "config tables" classes. These config tables classes would be imported by the existing logic classes, and enforce a separation between logic and config values. If they were all in one file, it could also help with tuning as all the relevant params would be organized into the same, single file. It woudl probably end up being just a class with lots of public static final numbers, but no methods.

gerth2 commented 8 years ago

Probably best to attempt this after most SW is written, but right before final validation.

gerth2 commented 8 years ago

Low priority, of course.