Base Leveling Estimator
Base class for estimators of device leveling (roll and pitch angles) by estimating gravity vector using accelerometer measurements only. Implementations of this estimator does not estimate attitude yaw angle, as either a magnetometer or gyroscope would be needed.
Inheritors
Constructors
Types
Interface to notify when a new leveling measurement is available.
Properties
an averaging filter for accelerometer samples to obtain sensed gravity component of specific force. (Only used if useAccelerometer is true).
Listener to notify new accelerometer measurements. (Only used if useAccelerometer is true).
One of the supported accelerometer sensor types. (Only used if useAccelerometer is true).
true to estimate coordinate transformation, false otherwise. If not needed, it can be disabled to improve performance and decrease cpu load.
true to estimate euler angles, false otherwise. If not needed, it can be disabled to improve performance and decrease cpu load.
listener to notify when a new gravity estimation is available.
listener to notify new gravity measurements. (Only used if useAccelerometer is false).
listener to notify when a new leveling measurement is available.
Delay of accelerometer or gravity sensor between samples.
true to use accelerometer sensor, false to use system gravity sensor.