[commands] WrappedCommand: Call wrapped command initSendable (#6471)

This commit is contained in:
DeltaDizzy
2024-04-21 22:30:43 -05:00
committed by GitHub
parent 98d2f45fa9
commit 7bc0380694
3 changed files with 12 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ class WrapperCommand : public CommandHelper<Command, WrapperCommand> {
wpi::SmallSet<Subsystem*, 4> GetRequirements() const override;
void InitSendable(wpi::SendableBuilder& builder) override;
protected:
/// Command being wrapped.
std::unique_ptr<Command> m_command;