33 #ifndef SBG_ECOM_LOG_IMU_H
34 #define SBG_ECOM_LOG_IMU_H
51 #define SBG_ECOM_IMU_COM_OK (0x00000001u << 0)
52 #define SBG_ECOM_IMU_STATUS_BIT (0x00000001u << 1)
54 #define SBG_ECOM_IMU_ACCEL_X_BIT (0x00000001u << 2)
55 #define SBG_ECOM_IMU_ACCEL_Y_BIT (0x00000001u << 3)
56 #define SBG_ECOM_IMU_ACCEL_Z_BIT (0x00000001u << 4)
58 #define SBG_ECOM_IMU_GYRO_X_BIT (0x00000001u << 5)
59 #define SBG_ECOM_IMU_GYRO_Y_BIT (0x00000001u << 6)
60 #define SBG_ECOM_IMU_GYRO_Z_BIT (0x00000001u << 7)
62 #define SBG_ECOM_IMU_ACCELS_IN_RANGE (0x00000001u << 8)
63 #define SBG_ECOM_IMU_GYROS_IN_RANGE (0x00000001u << 9)
Main header for the SBG Systems common C library.
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition: sbgDefines.h:349
SbgErrorCode sbgEComLogImuShortReadFromStream(SbgEComLogImuShort *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogImuShort SbgEComLogImuShort
struct _SbgEComLogImuFastLegacy SbgEComLogImuFastLegacy
SbgErrorCode sbgEComLogImuFastLegacyReadFromStream(SbgEComLogImuFastLegacy *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogImuLegacy SbgEComLogImuLegacy
float sbgEComLogImuShortGetTemperature(const SbgEComLogImuShort *pImuShort)
float sbgEComLogImuShortGetDeltaVelocity(const SbgEComLogImuShort *pImuShort, size_t idx)
SbgErrorCode sbgEComLogImuLegacyReadFromStream(SbgEComLogImuLegacy *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogImuFastLegacyWriteToStream(const SbgEComLogImuFastLegacy *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogImuLegacyWriteToStream(const SbgEComLogImuLegacy *pLogData, SbgStreamBuffer *pStreamBuffer)
float sbgEComLogImuShortGetDeltaAngle(const SbgEComLogImuShort *pImuShort, size_t idx)
SbgErrorCode sbgEComLogImuShortWriteToStream(const SbgEComLogImuShort *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
SBG_DEPRECATED(SBG_INLINE uint32_t SBG_VERSION(uint8_t major, uint8_t minor, uint8_t rev, uint8_t build))
Definition: sbgEComLogImu.h:118
uint16_t status
Definition: sbgEComLogImu.h:120
float accelerometers[3]
Definition: sbgEComLogImu.h:121
uint32_t timeStamp
Definition: sbgEComLogImu.h:119
float gyroscopes[3]
Definition: sbgEComLogImu.h:122
Definition: sbgEComLogImu.h:88
float deltaVelocity[3]
Definition: sbgEComLogImu.h:94
float temperature
Definition: sbgEComLogImu.h:93
float accelerometers[3]
Definition: sbgEComLogImu.h:91
float gyroscopes[3]
Definition: sbgEComLogImu.h:92
float deltaAngle[3]
Definition: sbgEComLogImu.h:95
uint32_t timeStamp
Definition: sbgEComLogImu.h:89
uint16_t status
Definition: sbgEComLogImu.h:90
Definition: sbgEComLogImu.h:104
int32_t deltaVelocity[3]
Definition: sbgEComLogImu.h:107
int32_t deltaAngle[3]
Definition: sbgEComLogImu.h:108
int16_t temperature
Definition: sbgEComLogImu.h:109
uint32_t timeStamp
Definition: sbgEComLogImu.h:105
uint16_t status
Definition: sbgEComLogImu.h:106
Definition: sbgStreamBufferCommon.h:201