Go to the documentation of this file.
48 uint8_t payload[12*
sizeof(float)];
71 for (i = 0; i < 9; i++)
84 for (trial = 0; trial < pHandle->
numTrials; trial++)
145 for (trial = 0; trial < pHandle->
numTrials; trial++)
214 for (trial = 0; trial < pHandle->
numTrials; trial++)
302 for (trial = 0; trial < pHandle->
numTrials; trial++)
360 assert(pCalibResults);
365 for (trial = 0; trial < pHandle->
numTrials; trial++)
424 for (i = 0; i < 9; i++)
#define sbgStreamBufferReadUint8LE
SbgErrorCode sbgEComWaitForAck(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t timeOut)
SbgErrorCode sbgEComCmdMagGetModelInfo(SbgEComHandle *pHandle, SbgEComModelInfo *pModelInfo)
SBG_INLINE SbgErrorCode sbgStreamBufferWriteFloatLE(SbgStreamBuffer *pHandle, float value)
SbgErrorCode sbgEComCmdMagStartCalib(SbgEComHandle *pHandle, SbgEComMagCalibMode mode, SbgEComMagCalibBandwidth bandwidth)
SBG_INLINE SbgErrorCode sbgStreamBufferInitForWrite(SbgStreamBuffer *pHandle, void *pLinkedBuffer, size_t bufferSize)
SBG_INLINE uint16_t sbgStreamBufferReadUint16LE(SbgStreamBuffer *pHandle)
SbgErrorCode sbgEComCmdGenericSetModelId(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t modelId)
#define SBG_ECOM_MAX_BUFFER_SIZE
Implementation of the Ekinox binary communication protocol. You can access low-level communication w...
SbgEComRejectionMode magneticField
SBG_INLINE void * sbgStreamBufferGetLinkedBuffer(SbgStreamBuffer *pHandle)
@ SBG_ECOM_CLASS_LOG_CMD_0
@ SBG_ECOM_CMD_MAGNETOMETER_MODEL_ID
SbgErrorCode sbgEComReceiveCmd(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, void *pData, size_t *pSize, size_t maxSize, uint32_t timeOut)
SbgErrorCode sbgEComCmdMagSetRejection(SbgEComHandle *pHandle, const SbgEComMagRejectionConf *pRejectConf)
SbgEComMagCalibConfidence confidence
SbgErrorCode sbgEComCmdMagComputeCalib(SbgEComHandle *pHandle, SbgEComMagCalibResults *pCalibResults)
@ SBG_ECOM_CMD_START_MAG_CALIB
SbgErrorCode sbgEComCmdMagSetModelId(SbgEComHandle *pHandle, uint32_t id)
SbgErrorCode sbgEComCmdMagGetRejection(SbgEComHandle *pHandle, SbgEComMagRejectionConf *pRejectConf)
uint32_t cmdDefaultTimeOut
SbgEComProtocol protocolHandle
@ SBG_ECOM_CMD_SET_MAG_CALIB
#define sbgStreamBufferWriteUint8LE
enum _SbgEComMagCalibMode SbgEComMagCalibMode
This file implements SbgECom commands related to Magnetometer module.
SBG_INLINE size_t sbgStreamBufferGetLength(SbgStreamBuffer *pHandle)
@ SBG_ECOM_CMD_COMPUTE_MAG_CALIB
SbgEComMagCalibQuality quality
SbgErrorCode sbgEComCmdGenericGetModelInfo(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, SbgEComModelInfo *pModelInfo)
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
SbgErrorCode sbgEComCmdMagSetCalibData(SbgEComHandle *pHandle, const float offset[3], const float matrix[9])
@ SBG_ECOM_CMD_MAGNETOMETER_REJECT_MODE
SbgErrorCode sbgEComProtocolSend(SbgEComProtocol *pHandle, uint8_t msgClass, uint8_t msg, const void *pData, size_t size)
enum _SbgEComRejectionMode SbgEComRejectionMode
SBG_INLINE SbgErrorCode sbgStreamBufferInitForRead(SbgStreamBuffer *pHandle, const void *pLinkedBuffer, size_t bufferSize)
enum _SbgEComMagCalibConfidence SbgEComMagCalibConfidence
enum _SbgEComMagCalibQuality SbgEComMagCalibQuality
SBG_INLINE float sbgStreamBufferReadFloatLE(SbgStreamBuffer *pHandle)
enum _SbgEComMagCalibBandwidth SbgEComMagCalibBandwidth
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40