Absolute Attitude Estimator
Interface for absolute attitude estimators.
Inheritors
Properties
Gets 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).
Gets one of the supported accelerometer sensor types. (Only used if useAccelerometer is true).
Gets or sets listener to notify when a new attitude measurement is available.
Indicates whether coordinate transformation must be estimated or not. True to estimate coordinate transformation, false otherwise. If not needed, it can be disabled to improve performance and decrease cpu load.
Indicates whether Euler angles must be estimated or not. 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).
Gets average time interval between gyroscope samples expressed in seconds.
Listener to notify new gyroscope measurements.
Gets one of the supported gyroscope sensor types.
Factor to take into account when interpolation value is computed and useIndirectInterpolation is enabled to determine actual interpolation value based on current relative attitude rotation velocity.
Interpolation value to be used to combine both geomagnetic and relative attitudes. Must be between 0.0 and 1.0 (both included). The closer to 0.0 this value is, the more resemblance the result will have to a pure geomagnetic (which feels more jerky when using accelerometer). On the contrary, the closer to 1.0 this value is, the more resemblance the result will have to a pure non-leveled relative attitude (which feels softer but might have arbitrary roll pitch and yaw Euler angles).
Listener to notify new magnetometer measurements.
Gets one of the supported magnetometer sensor types.
Threshold to determine that geomagnetic attitude has largely diverged and if situation is not reverted soon, attitude will be reset to geomagnetic one.
Threshold to determine that current geomagnetic attitude appears to be an outlier respect to estimated fused attitude. When geomagnetic attitude and fused attitudes diverge, fusion is not performed, and instead only gyroscope relative attitude is used for fusion estimation.
Threshold to determine when fused attitude has largely diverged for a given number of samples and must be reset.
Gets delay of sensors between samples.
Timestamp when World Magnetic Model will be evaluated to obtain current. Only taken into account if useWorldMagneticModel is tue.
Indicates whether accelerometer or gravity sensor is used. True to use accelerometer sensor, false to use system gravity sensor for leveling purposes.
Indicates whether accurate leveling must be used or not.
Indicates whether accurate non-leveled relative attitude estimator must be used or not.
Indicates whether fusion between leveling and relative attitudes occurs based on changing interpolation value that depends on actual relative attitude rotation velocity.
Indicates whether world magnetic model is taken into account to adjust attitude yaw angle by current magnetic declination based on current World Magnetic Model, location and timestamp.
Earth's magnetic model. If null, the default model is used if useWorldMagneticModel is true. If useWorldMagneticModel is false, this is ignored.