Kalman Absolute Attitude Processor3
Class.
Parameters
Gets or sets current device location. If null, it is assumed that device is located at magnetic field equator (with zero dip and declination angles). This is only taken into account if useWorldMagneticModel is true.
Timestamp being used when World Magnetic Model is evaluated to obtain current magnetic dip and declination angles. This is only taken into account if useWorldMagneticModel is true. If not defined, current date is assumed.
Constructors
Types
Properties
Contains estimated linear acceleration applied to the device (which is equal to the sensed specific force minus the gravity component) expressed in ECEF coordinates. By integrating linear acceleration speed can be estimated, and by double integration, ECEF position can be estimated as well.
Error covariance of estimated ECEF acceleration state. This is only available if [computeCovariances and computeEcefAccelerationCovariance] are true.
Estimated ECEF attitude.
Error covariance of estimated quaternion attitude expressed in ECEF coordinates. This is only available if computeCovariances and computeEcefAttitudeCovariance are true.
Euler angles associated to estimated NED attitude. Array contains roll, pitch and yaw angles expressed in radians (rad) and following order indicated here. This is only available if computeCovariances and computeEulerAngles are true.
Error covariance of estimate Euler angles for local NED attitude. This is only available if computeCovariances and computeEulerAnglesCovariance are true.
Gets expected gravity norm at current location. If no location is available, average gravity at sea level is returned instead.
Gyroscope interval between measurements expressed in seconds (s).
Obtains magnetic field declination of local NED reference system expressed in radians if World Magnetic Model is used, otherwise zero is returned. Magnetic field declination indicates how much deviation the heading angle has between the magnetic north pole and the true geographic north pole.
Returns magnetic field dip angle of local NED reference system expressed in radians if World Magnetic Model is used, otherwise zero is returned. Magnetic field dip angle indicates how much the magnetic field points towards Earth's center. At magnetic equator dip angle is zero, at North magnetic pole is +90º, and at South magnetic pose is -90º. At the north hemisphere dip angle is positive (magnetic field points downwards), indicating the vertical deviation of magnetic field respect local Earth surface at a given position (latitude, longitude and height) At the south hemisphere dip angle is negative (magnetic field points upwards), indicating the vertical deviation of magnetic field respect local Earth surface at a given position (latitude, longitude and height)
Gets current local body attitude expressed in NED coordinate system.
Error covariance of estimated local body rotation axis expressed in NED coordinates. This is only available if computeCovariances and computeNedRotationAxisCovariance are true.
Indicates whether world magnetic model is taken into account magnetic field dip and declination angles, so that orientation pointing to the true north is estimated.
Earth's magnetic model. If null, the default model is used if useWorldMagneticModel is true. If useWorldMagneticModel is false, this is ignored.
Functions
Processes provided synced accelerometer, gyroscope and magnetometer measurement to obtain a relative leveled attitude.
Processes provided accelerometer, gyroscope and magnetometer measurements at provided timestamp to obtain a relative leveled attitude.