CRTP implementation to allow polymorphic decorator functions in Command.
Definition: CommandHelper.h:26
A state machine representing a complete action to be performed by the robot.
Definition: Command.h:47
Schedules the given commands when this command is initialized.
Definition: ScheduleCommand.h:24
ScheduleCommand(Command *toSchedule)
ScheduleCommand(std::span< Command *const > toSchedule)
Creates a new ScheduleCommand that schedules the given commands when initialized.
bool IsFinished() override
Whether the command has finished.
ScheduleCommand(ScheduleCommand &&other)=default
bool RunsWhenDisabled() const override
Whether the given command should run when the robot is disabled.
void Initialize() override
The initial subroutine of a command.
ScheduleCommand(const ScheduleCommand &other)=default
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Definition: SmallVector.h:1186
Definition: InstantCommand.h:14