sbgECom Library  5.4.1684-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogAirData.h
Go to the documentation of this file.
1
35
36#ifndef SBG_ECOM_LOG_AIR_DATA_H
37#define SBG_ECOM_LOG_AIR_DATA_H
38
39// sbgCommonLib headers
40#include <sbgCommon.h>
42
43// Project headers
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50//----------------------------------------------------------------------//
51//- Log Air Data status definitions -//
52//----------------------------------------------------------------------//
53
57#define SBG_ECOM_AIR_DATA_TIME_IS_DELAY (0x0001u << 0)
58#define SBG_ECOM_AIR_DATA_PRESSURE_ABS_VALID (0x0001u << 1)
59#define SBG_ECOM_AIR_DATA_ALTITUDE_VALID (0x0001u << 2)
60#define SBG_ECOM_AIR_DATA_PRESSURE_DIFF_VALID (0x0001u << 3)
61#define SBG_ECOM_AIR_DATA_AIRSPEED_VALID (0x0001u << 4)
62#define SBG_ECOM_AIR_DATA_TEMPERATURE_VALID (0x0001u << 5)
63
64//----------------------------------------------------------------------//
65//- Log structure definitions -//
66//----------------------------------------------------------------------//
67
81
82//----------------------------------------------------------------------//
83//- Public methods -//
84//----------------------------------------------------------------------//
85
92
101
110
111//----------------------------------------------------------------------//
112//- Public setters/getters -//
113//----------------------------------------------------------------------//
114
122
130
131//----------------------------------------------------------------------//
132//- DEPRECATED - Used for backward compatibility -//
133//----------------------------------------------------------------------//
134
135#ifdef SBG_ECOM_USE_DEPRECATED_MACROS
136 #define SBG_ECOM_AIR_DATA_AIRPSEED_VALID SBG_ECOM_AIR_DATA_AIRSPEED_VALID
137#endif
138
139
140SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogAirData SbgLogAirData);
141
142SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseAirData(SbgStreamBuffer *pStreamBuffer, SbgEComLogAirData *pLogData));
143SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteAirData(SbgStreamBuffer *pStreamBuffer, const SbgEComLogAirData *pLogData));
144
145#ifdef __cplusplus
146}
147#endif
148
149#endif // SBG_ECOM_LOG_AIR_DATA_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
void sbgEComLogAirDataSetTimeType(SbgEComLogAirData *pLogData, SbgEComAidingTimeType timeType)
SbgEComAidingTimeType sbgEComLogAirDataGetTimeType(const SbgEComLogAirData *pLogData)
struct _SbgEComLogAirData SbgEComLogAirData
void sbgEComLogAirDataConstruct(SbgEComLogAirData *pLogData)
SbgErrorCode sbgEComLogAirDataWriteToStream(const SbgEComLogAirData *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogAirDataReadFromStream(SbgEComLogAirData *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogAirData.h:72
float altitude
Definition sbgEComLogAirData.h:76
float trueAirspeed
Definition sbgEComLogAirData.h:78
uint16_t status
Definition sbgEComLogAirData.h:74
float pressureDiff
Definition sbgEComLogAirData.h:77
float airTemperature
Definition sbgEComLogAirData.h:79
uint32_t timeStamp
Definition sbgEComLogAirData.h:73
float pressureAbs
Definition sbgEComLogAirData.h:75