sbgECom Library  6.1.3749-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// Project headers
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49//----------------------------------------------------------------------//
50//- Log USBL status definitions -//
51//----------------------------------------------------------------------//
52
56#define SBG_ECOM_USBL_TIME_SYNC (0x0001u << 0)
57#define SBG_ECOM_USBL_POSITION_VALID (0x0001u << 1)
58#define SBG_ECOM_USBL_DEPTH_VALID (0x0001u << 2)
59
60//----------------------------------------------------------------------//
61//- Log structure definitions -//
62//----------------------------------------------------------------------//
63
67typedef struct _SbgEComLogUsbl
68{
69 uint32_t timeStamp;
70 uint16_t status;
71
72 double latitude;
73 double longitude;
74
75 float depth;
76
80
81 uint32_t informationAge;
83
84//----------------------------------------------------------------------//
85//- Public methods -//
86//----------------------------------------------------------------------//
87
96
105
106//----------------------------------------------------------------------//
107//- Public setters/getters -//
108//----------------------------------------------------------------------//
109
117
125
126//----------------------------------------------------------------------//
127//- DEPRECATED - Used for backward compatibility -//
128//----------------------------------------------------------------------//
129
130SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogUsbl SbgLogUsblData);
131
132SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseUsblData(SbgStreamBuffer *pStreamBuffer, SbgEComLogUsbl *pLogData));
133SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteUsblData(SbgStreamBuffer *pStreamBuffer, const SbgEComLogUsbl *pLogData));
134
135#ifdef __cplusplus
136}
137#endif
138
139#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
Common enumeration and definitions for aiding data.
enum _SbgEComAidingTimeType SbgEComAidingTimeType
SbgEComAidingTimeType sbgEComLogUsblGetTimeType(const SbgEComLogUsbl *pLogData)
void sbgEComLogUsblSetTimeType(SbgEComLogUsbl *pLogData, SbgEComAidingTimeType timeType)
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:68
double longitude
Definition sbgEComLogUsbl.h:73
uint32_t timeStamp
Definition sbgEComLogUsbl.h:69
uint16_t status
Definition sbgEComLogUsbl.h:70
double latitude
Definition sbgEComLogUsbl.h:72
float depthAccuracy
Definition sbgEComLogUsbl.h:79
float depth
Definition sbgEComLogUsbl.h:75
uint32_t informationAge
Definition sbgEComLogUsbl.h:81
float latitudeAccuracy
Definition sbgEComLogUsbl.h:77
float longitudeAccuracy
Definition sbgEComLogUsbl.h:78