35 void End(
bool interrupted)
override;
48 units::second_t m_duration;
CRTP implementation to allow polymorphic decorator functions in Command.
Definition CommandHelper.h:25
A command that does nothing but takes a specified amount of time to finish.
Definition WaitCommand.h:19
WaitCommand(WaitCommand &&other)=default
WaitCommand(units::second_t duration)
Creates a new WaitCommand.
bool IsFinished() override
WaitCommand(const WaitCommand &other)=default
frc::Timer m_timer
The timer used for waiting.
Definition WaitCommand.h:45
void InitSendable(wpi::SendableBuilder &builder) override
void End(bool interrupted) override
bool RunsWhenDisabled() const override
void Initialize() override
A timer class.
Definition Timer.h:36
Helper class for building Sendable dashboard representations.
Definition SendableBuilder.h:21
Definition FunctionalCommand.h:13