sbgECom Library  5.1.708-stable
Interface SBG Systems IMU/AHRS/INS
sbgEComLogDvl.h
Go to the documentation of this file.
1 
33 #ifndef SBG_ECOM_LOG_DVL_H
34 #define SBG_ECOM_LOG_DVL_H
35 
36 // sbgCommonLib headers
37 #include <sbgCommon.h>
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 //----------------------------------------------------------------------//
45 //- Log DVL status definitions -//
46 //----------------------------------------------------------------------//
47 
51 #define SBG_ECOM_DVL_VELOCITY_VALID (0x0001u << 0)
52 #define SBG_ECOM_DVL_TIME_SYNC (0x0001u << 1)
54 //----------------------------------------------------------------------//
55 //- Log structure definitions -//
56 //----------------------------------------------------------------------//
57 
67 typedef struct _SbgEComLogDvl
68 {
69  uint32_t timeStamp;
70  uint16_t status;
71  float velocity[3];
72  float velocityQuality[3];
74 
75 //----------------------------------------------------------------------//
76 //- Public methods -//
77 //----------------------------------------------------------------------//
78 
87 
96 
97 //----------------------------------------------------------------------//
98 //- DEPRECATED - Used for backward compatibility -//
99 //----------------------------------------------------------------------//
100 
101 SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogDvl SbgLogDvlData);
102 
103 SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseDvlData(SbgStreamBuffer *pStreamBuffer, SbgEComLogDvl *pLogData));
104 SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteDvlData(SbgStreamBuffer *pStreamBuffer, const SbgEComLogDvl *pLogData));
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif // SBG_ECOM_LOG_DVL_H
Main header for the SBG Systems common C library.
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition: sbgDefines.h:349
SbgErrorCode sbgEComLogDvlWriteToStream(const SbgEComLogDvl *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogDvl SbgEComLogDvl
Log structure for DVL 3D velocity measurement.
SbgErrorCode sbgEComLogDvlReadFromStream(SbgEComLogDvl *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))
Log structure for DVL 3D velocity measurement.
Definition: sbgEComLogDvl.h:68
uint16_t status
Definition: sbgEComLogDvl.h:70
uint32_t timeStamp
Definition: sbgEComLogDvl.h:69
float velocity[3]
Definition: sbgEComLogDvl.h:71
float velocityQuality[3]
Definition: sbgEComLogDvl.h:72
Definition: sbgStreamBufferCommon.h:201