54 _requested_state(init_state)
60 bool get_state()
const {
return _state; }
62 void set_hysteresis_time_from(
const bool from_state,
const hrt_abstime new_hysteresis_time_us);
64 void set_state_and_update(
const bool new_state);
76 bool _requested_state;
High-resolution timer with callouts and timekeeping.
Definition: hysteresis.cpp:42
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
Definition: drv_hrt.h:58
Definition: hysteresis.h:49