Geomagnetic Attitude Processor
Estimates leveled absolute attitude using gravity and magnetometer sensors. Roll and pitch Euler angles are leveled using gravity sensor. Yaw angle is obtained from magnetometer once the leveling is estimated.
Constructors
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.
Functions
Updates provided triad to contain gravity component of specific force expressed in NED coordinates and in meters per squared second (m/s^2).
Processes provided synced measurement to estimated fused leveled absolute attitude.