DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
DelayedTrigger (const T &threshold, double time_delay=0.0, unsigned samples=1) | |
~DelayedTrigger (void) | |
bool | updateAndTest (const T &value) |
|
inline |
Constructor.
threshold | limit over which a detection is supposed to occur |
time_delay | maximum period of time the value can be over the threshold |
samples | window size of the moving average used in the detection algorithm |
|
inline |
Destructor.
|
inline |
Update with a new measure and test if and false otherwise.
value | new measure to take into account |