sbgECom Library  5.3.2276-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#ifdef __cplusplus
41extern "C" {
42#endif
43
44//----------------------------------------------------------------------//
45//- Public definitions -//
46//----------------------------------------------------------------------//
47
51#define SBG_ECOM_VELOCITY_0_VALID (0x0001 << 3)
52#define SBG_ECOM_VELOCITY_1_VALID (0x0001 << 4)
53#define SBG_ECOM_VELOCITY_2_VALID (0x0001 << 5)
54#define SBG_ECOM_VELOCITY_STD_VALID (0x0001 << 6)
55
65
66//----------------------------------------------------------------------//
67//- Log structure definitions -//
68//----------------------------------------------------------------------//
69
73typedef struct _SbgEComLogVelocity
74{
75 uint32_t timeStamp;
76 uint16_t status;
77 float velocity[3];
78 float velocityStd[3];
80
81//----------------------------------------------------------------------//
82//- Public methods -//
83//----------------------------------------------------------------------//
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.
_SbgEComVelocityTimeType
Definition sbgEComLogVelocity.h:60
@ SBG_ECOM_VELOCITY_TIME_TYPE_TIME_OF_WEEK
Definition sbgEComLogVelocity.h:63
@ SBG_ECOM_VELOCITY_TIME_TYPE_TIMESTAMP
Definition sbgEComLogVelocity.h:61
@ SBG_ECOM_VELOCITY_TIME_TYPE_DELAY
Definition sbgEComLogVelocity.h:62
SbgErrorCode sbgEComLogVelocityReadFromStream(SbgEComLogVelocity *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgEComVelocityTimeType SbgEComVelocityTimeType
SbgEComVelocityTimeType sbgEComLogVelocityGetTimeType(const SbgEComLogVelocity *pLogData)
struct _SbgEComLogVelocity SbgEComLogVelocity
SbgErrorCode sbgEComLogVelocityWriteToStream(const SbgEComLogVelocity *pLogData, SbgStreamBuffer *pStreamBuffer)
void sbgEComLogVelocitySetTimeType(SbgEComLogVelocity *pLogData, SbgEComVelocityTimeType timeType)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogVelocity.h:74
uint32_t timeStamp
Definition sbgEComLogVelocity.h:75
uint16_t status
Definition sbgEComLogVelocity.h:76
float velocityStd[3]
Definition sbgEComLogVelocity.h:78
float velocity[3]
Definition sbgEComLogVelocity.h:77