M5Unit-IMU 0.0.2 git rev:e5b00aa
Loading...
Searching...
No Matches
m5::imu::AhrsController::calibration_data_t Struct Reference

Exportable/importable snapshot of every capability's auto-calibration offset. More...

#include <ahrs_controller.hpp>

Public Attributes

uint32_t version {1}
 Struct layout version.
 
float accel_offset [3] {}
 Accelerometer offset (G), X/Y/Z.
 
float gyro_offset [3] {}
 Gyroscope offset (dps), X/Y/Z.
 
float mag_offset [3] {}
 Magnetometer offset (uT), X/Y/Z.
 

Detailed Description

Exportable/importable snapshot of every capability's auto-calibration offset.

POD, versioned so a future layout change can be detected on import (see readCalibration()/writeCalibration()).