CRTP implementation to allow polymorphic decorator functions in Command.
Definition: CommandHelper.h:27
Represents requirements for a command, which is a set of (pointers to) subsystems.
Definition: Requirements.h:20
A command that runs a given runnable when it is initialized, and another runnable when it ends.
Definition: StartEndCommand.h:24
StartEndCommand(std::function< void()> onInit, std::function< void()> onEnd, Requirements requirements={})
Creates a new StartEndCommand.
StartEndCommand(StartEndCommand &&other)=default
StartEndCommand(const StartEndCommand &other)=default
Definition: TrapezoidProfileSubsystem.h:12