sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgEComLogAutomotive.h
Go to the documentation of this file.
1 
33 #ifndef SBG_ECOM_LOG_AUTOMOTIVE_H
34 #define SBG_ECOM_LOG_AUTOMOTIVE_H
35 
36 // sbgCommonLib headers
37 #include <sbgCommon.h>
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 //----------------------------------------------------------------------//
45 //- Constant definitions -//
46 //----------------------------------------------------------------------//
47 
51 #define SBG_ECOM_AUTO_DATA_TRACK_VALID (0x1u << 0)
52 #define SBG_ECOM_AUTO_DATA_SLIP_VALID (0x1u << 1)
53 #define SBG_ECOM_AUTO_DATA_CURVATURE_VALID (0x1u << 2)
55 //----------------------------------------------------------------------//
56 //- Log structure definitions -//
57 //----------------------------------------------------------------------//
58 
62 typedef struct _SbgEComLogAutomotive
63 {
64  uint8_t status;
65  float trackAngle;
66  float slipAngle;
69 
70 //----------------------------------------------------------------------//
71 //- DEPRECATED - Used for backward compatibility -//
72 //----------------------------------------------------------------------//
73 
74 SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogAutomotive SbgLogAutoData);
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif // SBG_ECOM_LOG_AUTOMOTIVE_H
Main header for the SBG Systems common C library.
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition: sbgDefines.h:349
struct _SbgEComLogAutomotive SbgEComLogAutomotive
Used to read/write data from/to a memory buffer stream.
Definition: sbgEComLogAutomotive.h:63
float slipAngle
Definition: sbgEComLogAutomotive.h:66
float curvatureRadius
Definition: sbgEComLogAutomotive.h:67
uint8_t status
Definition: sbgEComLogAutomotive.h:64
float trackAngle
Definition: sbgEComLogAutomotive.h:65