35 void End(
bool interrupted)
override;
47 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
Definition: WaitCommand.h:44
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
Definition: SendableBuilder.h:18
Definition: ProfiledPIDCommand.h:18