A base for subsystems that handles registration in the constructor, and provides a more intuitive met...
Definition: SubsystemBase.h:24
void SetSubsystem(std::string_view name)
Sets the subsystem name of this Subsystem.
void AddChild(std::string name, wpi::Sendable *child)
Associate a Sendable with this Subsystem.
void SetName(std::string_view name)
Sets the name of this Subsystem.
std::string GetSubsystem() const
Gets the subsystem name of this Subsystem.
SubsystemBase(std::string_view name)
Constructor.
std::string GetName() const override
Gets the name of this Subsystem.
SubsystemBase()
Constructor.
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
A robot subsystem.
Definition: Subsystem.h:43
Helper class for building Sendable dashboard representations.
Definition: SendableBuilder.h:21
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
Interface for Sendable objects.
Definition: Sendable.h:16
basic_string_view< char > string_view
Definition: core.h:501
Definition: TrapezoidProfileSubsystem.h:12