allwpilib
allwpilib copied to clipboard
[commands] Refactor lambda-based commands to inherit FunctionalCommand
InstantCommand, StartEndCommand, and RunCommand are all practically FunctionalCommand with differently defaulted arguments. This makes that explicit, reducing code duplication..
Tests should prove no behavior changed.
/wpiformat