GeekIMU/4.Software/GeekIMU Manager GUI 1.2/GeekIMUDriver 1.2/Src/MagCalibrate.h

27 lines
431 B
C
Raw Normal View History

2024-11-09 21:39:20 +08:00
#ifndef _MAG_CALIBRATE_H_
#define _MAG_CALIBRATE_H_
typedef struct _MagData
{
float x;
float y;
float z;
}MagData;
typedef struct _MagCaliParam
{
float xOffset;
float yOffset;
float zOffset;
float xScale;
float yScale;
float zScale;
}MagCaliParam;
MagCaliParam CalculateMagCalibrationParams(MagData _mdata[], int dataSize);
MagCaliParam GetMagDataFormFile();
// <20><><EFBFBD>մ<EFBFBD><D5B4><EFBFBD><EFBFBD><EFBFBD>У׼<D0A3><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void clearMagData(void);
2024-11-09 21:39:20 +08:00
#endif