Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Release sensor resource if not already done
|
Méthode | Description | |
---|---|---|
AccelerometerHelper ( ) : System |
Private constructor, Use Instance property to get singleton instance
|
|
FastLowAmplitudeNoiseFilter ( double newInputValue, double priorOutputValue ) : double |
discrete low-magnitude fast low-pass filter used to remove noise from raw accelerometer while allowing fast trending on high amplitude changes
|
|
LowPassFilter ( double newInputValue, double priorOutputValue ) : double |
1st order discrete low-pass filter used to remove noise from raw accelerometer.
|
|
SensorReadingChanged ( object sender, AccelerometerReadingEventArgs e ) : void |
Called on accelerometer sensor sample available. Main accelerometer data filtering routine
|
|
StartAccelerometer ( ) : void |
Initialize Accelerometer sensor and start sampling
|
|
StopAccelerometer ( ) : void |
Stop smpling and release accelerometer sensor
|