sbgECom Library  5.4.1684-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogVelocity.h
Go to the documentation of this file.
1
32
33#ifndef SBG_ECOM_LOG_VELOCITY_H
34#define SBG_ECOM_LOG_VELOCITY_H
35
36// sbgCommonLib headers
37#include <sbgCommon.h>
39
40// Project headers
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47//----------------------------------------------------------------------//
48//- Public definitions -//
49//----------------------------------------------------------------------//
50
54#define SBG_ECOM_VELOCITY_0_VALID (0x0001 << 3)
55#define SBG_ECOM_VELOCITY_1_VALID (0x0001 << 4)
56#define SBG_ECOM_VELOCITY_2_VALID (0x0001 << 5)
57#define SBG_ECOM_VELOCITY_STD_VALID (0x0001 << 6)
58
59//----------------------------------------------------------------------//
60//- Log structure definitions -//
61//----------------------------------------------------------------------//
62
66typedef struct _SbgEComLogVelocity
67{
68 uint32_t timeStamp;
69 uint16_t status;
70 float velocity[3];
71 float velocityStd[3];
73
74//----------------------------------------------------------------------//
75//- Public methods -//
76//----------------------------------------------------------------------//
77
84
93
102
103//----------------------------------------------------------------------//
104//- Public setters/getters -//
105//----------------------------------------------------------------------//
106
114
122
123#ifdef __cplusplus
124}
125#endif
126
127#endif // SBG_ECOM_LOG_VELOCITY_H
Main header for the SBG Systems common C library.
Common enumeration and definitions for aiding data.
enum _SbgEComAidingTimeType SbgEComAidingTimeType
SbgErrorCode sbgEComLogVelocityReadFromStream(SbgEComLogVelocity *pLogData, SbgStreamBuffer *pStreamBuffer)
void sbgEComLogVelocityConstruct(SbgEComLogVelocity *pLogData)
void sbgEComLogVelocitySetTimeType(SbgEComLogVelocity *pLogData, SbgEComAidingTimeType timeType)
struct _SbgEComLogVelocity SbgEComLogVelocity
SbgErrorCode sbgEComLogVelocityWriteToStream(const SbgEComLogVelocity *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgEComAidingTimeType sbgEComLogVelocityGetTimeType(const SbgEComLogVelocity *pLogData)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogVelocity.h:67
uint32_t timeStamp
Definition sbgEComLogVelocity.h:68
uint16_t status
Definition sbgEComLogVelocity.h:69
float velocityStd[3]
Definition sbgEComLogVelocity.h:71
float velocity[3]
Definition sbgEComLogVelocity.h:70