|
RAVENNAKIT
|
Keeps track of an ema with outliers filtered out and a max deviation. More...
#include <interval_stats.hpp>
Public Member Functions | |
| void | update (const double interval_ms) |
Public Attributes | |
| double | interval = 0.0 |
| Interval as measured over time. | |
| double | max_deviation = 0.0 |
| The max deviation compared to interval. | |
| bool | initialized = false |
| Whether this struct has been initialized. | |
| double | alpha = 0.001 |
| The alpa of ema calculation. Lower is smoother. | |
Keeps track of an ema with outliers filtered out and a max deviation.
Definition at line 36 of file interval_stats.hpp.
|
inline |
Definition at line 46 of file interval_stats.hpp.
| double rav::IntervalStats::alpha = 0.001 |
The alpa of ema calculation. Lower is smoother.
Definition at line 44 of file interval_stats.hpp.
| bool rav::IntervalStats::initialized = false |
Whether this struct has been initialized.
Definition at line 42 of file interval_stats.hpp.
| double rav::IntervalStats::interval = 0.0 |
Interval as measured over time.
Definition at line 38 of file interval_stats.hpp.
| double rav::IntervalStats::max_deviation = 0.0 |
The max deviation compared to interval.
Definition at line 40 of file interval_stats.hpp.