Helper class for maintaining magnetometer calibration.
More...
#include <calibrationhandler.h>
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::CalibrationHandler |
( |
QObject * |
parent = 0 | ) |
|
◆ ~CalibrationHandler()
CalibrationHandler::~CalibrationHandler |
( |
| ) |
|
◆ initiateSession()
bool CalibrationHandler::initiateSession |
( |
| ) |
|
Initialize object and start background calibration.
- Returns
- true on success.
◆ resumeCalibration
void CalibrationHandler::resumeCalibration |
( |
| ) |
|
|
slot |
◆ sampleReceived
void CalibrationHandler::sampleReceived |
( |
const MagneticField & |
| ) |
|
|
slot |
Callback when new sample is received from magnetometer.
◆ stopCalibration
void CalibrationHandler::stopCalibration |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following file: