Base Geomagnetic Attitude Processor
Base class to estimate leveled absolute attitude using accelerometer (or gravity) and magnetometer sensors. Roll and pitch Euler angles are leveled using accelerometer or gravity sensors. Yaw angle is obtained from magnetometer once the leveling is estimated.
Parameters
type of accelerometer or gravity sensor measurement.
type of synced sensor measurement.
Inheritors
Types
Properties
Indicates whether gravity norm must be adjusted to either Earth standard norm, or norm at provided location. If no location is provided, this should only be enabled when device is close to sea level.
Timestamp being used when World Magnetic Model is evaluated to obtain current magnetic declination. This is only taken into account if useWorldMagneticModel is true. If not defined, current date is assumed.
Instance to be reused containing estimated attitude in NED coordinates by merging leveled attitude with magnetometer measurements.
listener to notify new leveled absolute attitudes.
Indicates whether accurate leveling must be used or not.
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.