sensorfw
|
Datatype for compass measurements. More...
#include <orientationdata.h>
Public Member Functions | |
CompassData () | |
Default constructor. More... | |
CompassData (const quint64 ×tamp, int degrees, int level) | |
Constructor. More... | |
CompassData (const quint64 ×tamp, int degrees, int level, int correctedDegrees, int rawDegrees) | |
Constructor. More... | |
![]() | |
TimedData (const quint64 ×tamp) | |
Constructor. More... | |
Public Attributes | |
int | degrees_ |
Angle to north which may be declination corrected or not. More... | |
int | rawDegrees_ |
Angle to north without declination correction. More... | |
int | correctedDegrees_ |
Declination corrected angle to north. More... | |
int | level_ |
Magnetometer calibration level. More... | |
![]() | |
quint64 | timestamp_ |
monotonic time (microsec) More... | |
Datatype for compass measurements.
Definition at line 111 of file orientationdata.h.
|
inline |
Default constructor.
Definition at line 117 of file orientationdata.h.
|
inline |
Constructor.
timestamp | timestamp as monotonic time (microsec). |
degrees | Angle to north. |
level | Magnetometer calibration level. |
Definition at line 126 of file orientationdata.h.
|
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 138 of file orientationdata.h.
int CompassData::correctedDegrees_ |
Declination corrected angle to north.
Definition at line 143 of file orientationdata.h.
int CompassData::degrees_ |
Angle to north which may be declination corrected or not.
This is the value apps should use
Definition at line 141 of file orientationdata.h.
int CompassData::level_ |
Magnetometer calibration level.
Higher value means better calibration.
Definition at line 144 of file orientationdata.h.
int CompassData::rawDegrees_ |
Angle to north without declination correction.
Definition at line 142 of file orientationdata.h.