Datatype for compass measurements. More...
#include <orientationdata.h>
Public Member Functions | |
CompassData () | |
Default constructor. | |
CompassData (const quint64 ×tamp, int degrees, int level) | |
Constructor. | |
CompassData (const quint64 ×tamp, int degrees, int level, int correctedDegrees, int rawDegrees) | |
Constructor. | |
Public Attributes | |
int | degrees_ |
Angle to north which may be declination corrected or not. | |
int | rawDegrees_ |
Angle to north without declination correction. | |
int | correctedDegrees_ |
Declination corrected angle to north. | |
int | level_ |
Magnetometer calibration level. |
Datatype for compass measurements.
Definition at line 116 of file orientationdata.h.
CompassData::CompassData | ( | ) | [inline] |
Default constructor.
Definition at line 122 of file orientationdata.h.
CompassData::CompassData | ( | const quint64 & | timestamp, | |
int | degrees, | |||
int | level | |||
) | [inline] |
Constructor.
timestamp | timestamp as monotonic time (microsec). | |
degrees | Angle to north. | |
level | Magnetometer calibration level. |
Definition at line 131 of file orientationdata.h.
CompassData::CompassData | ( | const quint64 & | timestamp, | |
int | degrees, | |||
int | level, | |||
int | correctedDegrees, | |||
int | rawDegrees | |||
) | [inline] |
Constructor.
timestamp | timestamp as monotonic time (microsec). | |
degrees | Angle to north. | |
level | Magnetometer calibration level. | |
correctedDegrees | Declination corrected angle to north. | |
rawDegrees | Not declination corrected angle to north. |
Definition at line 143 of file orientationdata.h.
Declination corrected angle to north.
Definition at line 148 of file orientationdata.h.
Angle to north which may be declination corrected or not.
This is the value apps should use
Definition at line 146 of file orientationdata.h.
Magnetometer calibration level.
Higher value means better calibration.
Definition at line 149 of file orientationdata.h.
Angle to north without declination correction.
Definition at line 147 of file orientationdata.h.