|
sensorfw
|
Helper class for maintaining magnetometer calibration. More...
#include <calibrationhandler.h>
Public Slots | |
| void | sampleReceived (const MagneticField &) |
| Callback when new sample is received from magnetometer. | |
| void | stopCalibration () |
| Stop calibration. | |
| void | resumeCalibration () |
| Resume calibration. | |
Public Member Functions | |
| CalibrationHandler (QObject *parent=0) | |
| Constructor. | |
| ~CalibrationHandler () | |
| Destructor. | |
| bool | initiateSession () |
| Initialize object and start background calibration. | |
Helper class for maintaining magnetometer calibration.
Keeps a session open to magnetometer with low frequency to maintain calibration.
Definition at line 42 of file calibrationhandler.h.
| CalibrationHandler::CalibrationHandler | ( | QObject * | parent = 0 | ) |
Constructor.
| parent | Parent QObject. |
Destructor.
| bool CalibrationHandler::initiateSession | ( | ) |
Initialize object and start background calibration.
| void CalibrationHandler::resumeCalibration | ( | ) | [slot] |
Resume calibration.
| void CalibrationHandler::sampleReceived | ( | const MagneticField & | ) | [slot] |
Callback when new sample is received from magnetometer.
| void CalibrationHandler::stopCalibration | ( | ) | [slot] |
Stop calibration.