12 #include "frc/ErrorBase.h"
13 #include "frc/smartdashboard/Sendable.h"
14 #include "frc/smartdashboard/SendableHelper.h"
18 class ButtonScheduler;
85 void SetEnabled(
bool enabled);
97 std::unique_ptr<Impl> m_impl;
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
void Run()
Runs a single iteration of the loop.
Definition: Scheduler.h:22
void RegisterSubsystem(Subsystem *subsystem)
Registers a Subsystem to this Scheduler, so that the Scheduler might know if a default Command needs ...
The Command class is at the very core of the entire command framework.
Definition: Command.h:49
Definition: Subsystem.h:24
Base class for most objects.
Definition: ErrorBase.h:104
void Remove(Command *command)
Removes the Command from the Scheduler.
void AddCommand(Command *command)
Add a command to be scheduled later.
Interface for Sendable objects.
Definition: Sendable.h:17
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
static Scheduler * GetInstance()
Returns the Scheduler, creating it if one does not exist.
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:28
void ResetAll()
Completely resets the scheduler.
Definition: SendableBuilder.h:23