Fused Geomagnetic Attitude Estimator
Constructor.
Parameters
Android context.
Device location.
Delay of sensors between samples.
true to use accelerometer sensor, false to use system gravity sensor for leveling purposes.
One of the supported accelerometer sensor types. (Only used if useAccelerometer is true).
One of the supported magnetometer sensor types.
an averaging filter for accelerometer samples to obtain sensed gravity component of specific force. (Only used if useAccelerometer is true).
One of the supported gyroscope sensor types.
Earth's magnetic model. Null to use default model when useWorldMagneticModel is true. If useWorldMagneticModel is false, this is ignored.
Timestamp when World Magnetic Model will be evaluated to obtain current. Only taken into account if useWorldMagneticModel is tue.
true so that 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, false to ignore declination.
true to use accurate leveling, false to use a normal one.
true to use accurate non-leveled relative attitude estimator, false to use non-accurate non-leveled relative attitude estimator.
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 attitude measurement is available.
listener to notify new accelerometer measurements. (Only used if useAccelerometer is true).
listener to notify new gravity measurements. (Only used if useAccelerometer is false).
listener to notify new gyroscope measurements.
listener to notify new magnetometer measurements.
listener to notify when a new gravity estimation is available.