sensorfw: StabilityFilter Class Reference

sensorfw

Public Slots | Public Member Functions | List of all members
StabilityFilter Class Reference

Filter for providing the Orientation.IsStable context property. More...

`#include <stabilityfilter.h>`

Inheritance diagram for StabilityFilter:

## Public Slots
void | timeoutTriggered ()

## Public Member Functions
| StabilityFilter (Property *stableProperty, Property *unstableProperty, double lowThreshold, double highThreshold, double hysteresis=0.0)

## Detailed Description

Filter for providing the Orientation.IsStable context property.

StabilityFilter computes the Orientation.IsStable property from a QPair<double, double> which contains the moving average and moving variance of the data. StabilityFilter pushes the data forward unchanged.

Definition at line 50 of file stabilityfilter.h.

## Constructor & Destructor Documentation

## ◆ StabilityFilter()

StabilityFilter::StabilityFilter | ( | Property * | stableProperty,
|  | Property * | unstableProperty,
|  | double | lowThreshold,
|  | double | highThreshold,
|  | double | hysteresis = 0.0 )

## Member Function Documentation

## ◆ timeoutTriggered

void StabilityFilter::timeoutTriggered | ( |  | ) |
| slot

The documentation for this class was generated from the following file:

- sensors/contextplugin/stabilityfilter.h