IAccelerometerFilter

Interface for filters that estimate acceleration values

Author

cerovec, dodo

Inheritors

Functions

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