LowPassAccelerometerFilter

Constructors

Link copied to clipboard
constructor(sampleRate: Float, cutOffFrequency: Float)

Functions

Link copied to clipboard
open fun addAcceleration(x: Float, y: Float, z: Float)
Add a new measurement to the filter
Link copied to clipboard
open fun getX(): Float
Returns the filtered X value of accelerometer measurement
Link copied to clipboard
open fun getY(): Float
Returns the filtered Y value of accelerometer measurement
Link copied to clipboard
open fun getZ(): Float
Returns the filtered Z value of accelerometer measurement
Link copied to clipboard
open fun setSamplePeriod(periodInSeconds: Float)
Sets the filter's sample period given in seconds