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

This reverts commit 7bc0380694.

Calling initSendable on the wrapped command is fundamentally flawed as the wrapper is the command being sent.
This commit is contained in:
Ryan Blue
2024-11-06 18:10:37 -05:00
committed by GitHub
parent 5a16b0e108
commit af652817d9
3 changed files with 0 additions and 12 deletions

View File

@@ -68,8 +68,6 @@ 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;