20 #ifndef __SBG_ECOM_BINARY_LOG_EKF_H__ 21 #define __SBG_ECOM_BINARY_LOG_EKF_H__ 33 #define SBG_ECOM_SOLUTION_MODE_SHIFT (0u) 34 #define SBG_ECOM_SOLUTION_MODE_MASK (0x0000000Fu) 39 #define SBG_ECOM_SOL_ATTITUDE_VALID (0x00000001u << 4) 40 #define SBG_ECOM_SOL_HEADING_VALID (0x00000001u << 5) 41 #define SBG_ECOM_SOL_VELOCITY_VALID (0x00000001u << 6) 42 #define SBG_ECOM_SOL_POSITION_VALID (0x00000001u << 7) 43 #define SBG_ECOM_SOL_VERT_REF_USED (0x00000001u << 8) 44 #define SBG_ECOM_SOL_MAG_REF_USED (0x00000001u << 9) 45 #define SBG_ECOM_SOL_GPS1_VEL_USED (0x00000001u << 10) 46 #define SBG_ECOM_SOL_GPS1_POS_USED (0x00000001u << 11) 47 #define SBG_ECOM_SOL_GPS1_HDT_USED (0x00000001u << 13) 48 #define SBG_ECOM_SOL_GPS2_VEL_USED (0x00000001u << 14) 49 #define SBG_ECOM_SOL_GPS2_POS_USED (0x00000001u << 15) 50 #define SBG_ECOM_SOL_GPS2_HDT_USED (0x00000001u << 17) 51 #define SBG_ECOM_SOL_ODO_USED (0x00000001u << 18) 52 #define SBG_ECOM_SOL_DVL_BT_USED (0x00000001u << 19) 53 #define SBG_ECOM_SOL_DVL_WT_USED (0x00000001u << 20) 54 #define SBG_ECOM_SOL_USER_POS_USED (0x00000001u << 21) 55 #define SBG_ECOM_SOL_USER_VEL_USED (0x00000001u << 22) 56 #define SBG_ECOM_SOL_USER_HEADING_USED (0x00000001u << 23) 57 #define SBG_ECOM_SOL_USBL_USED (0x00000001u << 24) 58 #define SBG_ECOM_SOL_PRESSURE_USED (0x00000001u << 25) 59 #define SBG_ECOM_SOL_ZUPT_USED (0x00000001u << 26) 60 #define SBG_ECOM_SOL_ALIGN_VALID (0x00000001u << 27) 65 typedef enum _SbgEComSolutionMode 136 float velocityStdDev[3];
140 float positionStdDev[3];
SbgErrorCode sbgEComBinaryLogWriteEkfEulerData(SbgStreamBuffer *pOutputStream, const SbgLogEkfEulerData *pInputData)
SbgErrorCode sbgEComBinaryLogParseEkfEulerData(SbgStreamBuffer *pInputStream, SbgLogEkfEulerData *pOutputData)
SbgErrorCode sbgEComBinaryLogWriteEkfNavData(SbgStreamBuffer *pOutputStream, const SbgLogEkfNavData *pInputData)
Used to read/write data from/to a memory buffer stream.
struct _SbgLogEkfQuatData SbgLogEkfQuatData
SbgErrorCode sbgEComBinaryLogParseEkfQuatData(SbgStreamBuffer *pInputStream, SbgLogEkfQuatData *pOutputData)
struct _SbgLogEkfEulerData SbgLogEkfEulerData
enum _SbgEComSolutionMode SbgEComSolutionMode
SBG_INLINE SbgEComSolutionMode sbgEComLogEkfGetSolutionMode(uint32 status)
Main header file for SBG Systems common C library.
SbgErrorCode sbgEComBinaryLogWriteEkfQuatData(SbgStreamBuffer *pOutputStream, const SbgLogEkfQuatData *pInputData)
#define SBG_ECOM_SOLUTION_MODE_MASK
SbgErrorCode sbgEComBinaryLogParseEkfNavData(SbgStreamBuffer *pInputStream, SbgLogEkfNavData *pOutputData)
struct _SbgLogEkfNavData SbgLogEkfNavData
enum _SbgErrorCode SbgErrorCode
#define SBG_ECOM_SOLUTION_MODE_SHIFT
SBG_INLINE uint32 sbgEComLogEkfBuildSolutionStatus(SbgEComSolutionMode solutionMode, uint32 masks)