Spartronics4915 / 2020-InfiniteRecharge

Spartronics 4915's code for the FRC 2020 game: Infinite Recharge
GNU General Public License v3.0
10 stars 15 forks source link

Buttonfactory #122

Closed dbadb closed 4 years ago

dbadb commented 4 years ago

Here's (change 820b68b) is an example implementation of configurable ButtonBindings that would allow us to express the differences, say, between main robot, testplatform 1, etc. From RobotContainer's POV, this seems to have very little negative impact. The config behavior is currently in a combination of Constants.OI and ButtonFactory.

I've done this work in a separate branch so it's really easy for me to punt. You can express the intent to punt by simply canceling this pull request.

Alternatively if this capability might be useful go ahead and accept the pull request.

Seems pretty harmless to me, but you never know. I have not had the opportunity to validate on a real device.

dbadb commented 4 years ago

closing since it got too dusty... A new attempt has been submitted.