Skip to content

Commands using Lambda

The banana man edited this page Sep 26, 2023 · 1 revision

Commands (But using Lambda)


Simple Renato English™ : Using the Power of Lambda™, you can define simple commands in a simple manner instead of making a new class for each one!

But how, you may be asking?

If you are unfamiliar with lambda, it is done in java like this:
One line: () -> expression

TODO: FINISH THIS PAGE I NEED TO TEST SHOEBOX SHOWBOT CODE RESOURCES I GOOGLED https://docs.wpilib.org/en/stable/docs/software/commandbased/commands.html

Clone this wiki locally