sbgECom Library  5.2.590-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogUsbl.h
Go to the documentation of this file.
1
34
35#ifndef SBG_ECOM_LOG_USBL_H
36#define SBG_ECOM_LOG_USBL_H
37
38// sbgCommonLib headers
39#include <sbgCommon.h>
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46//----------------------------------------------------------------------//
47//- Log USBL status definitions -//
48//----------------------------------------------------------------------//
49
53#define SBG_ECOM_USBL_TIME_SYNC (0x0001u << 0)
54#define SBG_ECOM_USBL_POSITION_VALID (0x0001u << 1)
55#define SBG_ECOM_USBL_DEPTH_VALID (0x0001u << 2)
56
57//----------------------------------------------------------------------//
58//- Log structure definitions -//
59//----------------------------------------------------------------------//
60
64typedef struct _SbgEComLogUsbl
65{
66 uint32_t timeStamp;
67 uint16_t status;
68
69 double latitude;
70 double longitude;
71
72 float depth;
73
78
79//----------------------------------------------------------------------//
80//- Public methods -//
81//----------------------------------------------------------------------//
82
91
100
101//----------------------------------------------------------------------//
102//- DEPRECATED - Used for backward compatibility -//
103//----------------------------------------------------------------------//
104
105SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogUsbl SbgLogUsblData);
106
107SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseUsblData(SbgStreamBuffer *pStreamBuffer, SbgEComLogUsbl *pLogData));
108SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteUsblData(SbgStreamBuffer *pStreamBuffer, const SbgEComLogUsbl *pLogData));
109
110#ifdef __cplusplus
111}
112#endif
113
114#endif // SBG_ECOM_LOG_USBL_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 sbgEComLogUsblWriteToStream(const SbgEComLogUsbl *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogUsbl SbgEComLogUsbl
SbgErrorCode sbgEComLogUsblReadFromStream(SbgEComLogUsbl *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogUsbl.h:65
double longitude
Definition sbgEComLogUsbl.h:70
uint32_t timeStamp
Definition sbgEComLogUsbl.h:66
uint16_t status
Definition sbgEComLogUsbl.h:67
double latitude
Definition sbgEComLogUsbl.h:69
float depthAccuracy
Definition sbgEComLogUsbl.h:76
float depth
Definition sbgEComLogUsbl.h:72
float latitudeAccuracy
Definition sbgEComLogUsbl.h:74
float longitudeAccuracy
Definition sbgEComLogUsbl.h:75