sbgECom Library  5.2.590-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogDvl.h
Go to the documentation of this file.
1
32
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
41extern "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)
53
54//----------------------------------------------------------------------//
55//- Log structure definitions -//
56//----------------------------------------------------------------------//
57
67typedef 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
101SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogDvl SbgLogDvlData);
102
103SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseDvlData(SbgStreamBuffer *pStreamBuffer, SbgEComLogDvl *pLogData));
104SBG_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(func)
Definition sbgDefines.h:316
#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.
struct _SbgStreamBuffer SbgStreamBuffer
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