12 #include "frc/smartdashboard/Sendable.h"
13 #include "frc/smartdashboard/SendableHelper.h"
43 virtual bool Get() = 0;
44 void WhenActive(
Command* command);
45 void WhileActive(
Command* command);
46 void WhenInactive(
Command* command);
47 void CancelWhenActive(
Command* command);
48 void ToggleWhenActive(
Command* command);
53 std::atomic_bool m_sendablePressed{
false};
The Command class is at the very core of the entire command framework.
Definition: Command.h:49
This class provides an easy way to link commands to inputs.
Definition: Trigger.h:32
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
Interface for Sendable objects.
Definition: Sendable.h:17
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:28
Definition: SendableBuilder.h:23