12 #include <wpi/Twine.h>
14 #include "frc/commands/Command.h"
15 #include "frc/commands/Subsystem.h"
79 std::function<
void()> func);
88 std::function<void()> m_func =
nullptr;
89 void _Initialize()
override;
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
Definition: Subsystem.h:23
This command will execute once, then finish immediately afterward.
Definition: InstantCommand.h:24
bool IsFinished() override
Returns whether this command is finished.
The Command class is at the very core of the entire command framework.
Definition: Command.h:48
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79