42 units::second_t m_debounceTime;
46 units::second_t m_prevTime;
50 bool HasElapsed()
const;
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
A simple debounce filter for boolean streams.
Definition: Debouncer.h:18
Debouncer(units::second_t debounceTime, DebounceType type=DebounceType::kRising)
Creates a new Debouncer.
DebounceType
Definition: Debouncer.h:20
bool Calculate(bool input)
Applies the debouncer to the input stream.
type
Definition: core.h:575
Definition: AprilTagFieldLayout.h:22