20 #ifndef __SBG_ECOM_CMD_MAG_H__ 21 #define __SBG_ECOM_CMD_MAG_H__ 78 #define SBG_ECOM_MAG_CALIB_NOT_ENOUGH_POINTS (0x0001u) 79 #define SBG_ECOM_MAG_CALIB_TOO_MUCH_DISTORTIONS (0x0002u) 80 #define SBG_ECOM_MAG_CALIB_X_MOTION_ISSUE (0x0004u) 81 #define SBG_ECOM_MAG_CALIB_Y_MOTION_ISSUE (0x0008u) 82 #define SBG_ECOM_MAG_CALIB_Z_MOTION_ISSUE (0x0010u) 83 #define SBG_ECOM_MAG_CALIB_ALIGNMENT_ISSUE (0x0020u) 88 typedef enum _SbgEComMagModelsStdIds
This file groups all common definitions required by all commands.
enum _SbgEComMagCalibConfidence SbgEComMagCalibConfidence
SbgErrorCode sbgEComCmdMagSetRejection(SbgEComHandle *pHandle, const SbgEComMagRejectionConf *pRejectConf)
SbgEComMagCalibConfidence confidence
SbgErrorCode sbgEComCmdMagGetRejection(SbgEComHandle *pHandle, SbgEComMagRejectionConf *pRejectConf)
SbgEComMagCalibQuality quality
enum _SbgEComMagCalibMode SbgEComMagCalibMode
SbgErrorCode sbgEComCmdMagSetModelId(SbgEComHandle *pHandle, uint32 id)
_SbgEComMagCalibBandwidth
enum _SbgEComMagCalibBandwidth SbgEComMagCalibBandwidth
SbgErrorCode sbgEComCmdMagSetModel(SbgEComHandle *pHandle, const void *pBuffer, uint32 size)
enum _SbgEComRejectionMode SbgEComRejectionMode
enum _SbgEComMagCalibQuality SbgEComMagCalibQuality
struct _SbgEComMagCalibResults SbgEComMagCalibResults
SBG_DEPRECATED(SbgErrorCode sbgEComCmdMagSetModel(SbgEComHandle *pHandle, const void *pBuffer, uint32 size))
SbgErrorCode sbgEComCmdMagComputeCalib(SbgEComHandle *pHandle, SbgEComMagCalibResults *pCalibResults)
SbgErrorCode sbgEComCmdMagSetCalibData(SbgEComHandle *pHandle, const float offset[3], const float matrix[9])
struct _SbgEComMagRejectionConf SbgEComMagRejectionConf
_SbgEComMagCalibConfidence
SbgErrorCode sbgEComCmdMagStartCalib(SbgEComHandle *pHandle, SbgEComMagCalibMode mode, SbgEComMagCalibBandwidth bandwidth)
SbgEComRejectionMode magneticField
SbgErrorCode sbgEComCmdMagGetModelInfo(SbgEComHandle *pHandle, SbgEComModelInfo *pModelInfo)
enum _SbgErrorCode SbgErrorCode
enum _SbgEComMagModelsStdIds SbgEComMagModelsStdId