78 Eigen::Vector3f gyroscopeBias;
80 bool calibrating =
false;
81 int calibrationPoints = 0;
Applies calibration to a BMX160.
BMX160WithCorrectionData sampleImpl() override
Read a data sample from the sensor. In case of errors, the method should return the last available co...
bool selfTest() override
Check if the sensor is working.
BMX160WithCorrection(BMX160 *bmx160, AxisOrthoOrientation rotation={ Direction::POSITIVE_X, Direction::POSITIVE_Y})
bool init() override
Initialize the sensor.
static PrintLogger getLogger(const string &name)
Base sensor class with has to be extended by any sensor driver.
Six-parameter correction uses, for each axis, a coefficient to be multiplied and a constant to be add...
This file includes all the types the logdecoder script will decode.
This struct represents orthogonal rotations.