sbgEComBinaryLogShipMotion.h
Go to the documentation of this file.
1 
20 #ifndef __SBG_ECOM_BINARY_LOG_SHIP_MOTION_H__
21 #define __SBG_ECOM_BINARY_LOG_SHIP_MOTION_H__
22 
23 #include <sbgCommon.h>
25 
26 //----------------------------------------------------------------------//
27 //- Heave status definitions -//
28 //----------------------------------------------------------------------//
29 
30 #define SBG_ECOM_HEAVE_VALID (0x0001u << 0)
31 #define SBG_ECOM_HEAVE_VEL_AIDED (0x0001u << 1)
32 #define SBG_ECOM_HEAVE_SURGE_SWAY_INCLUDED (0x0001u << 2)
33 #define SBG_ECOM_HEAVE_PERIOD_INCLUDED (0x0001u << 3)
34 #define SBG_ECOM_HEAVE_PERIOD_VALID (0x0001u << 4)
35 #define SBG_ECOM_HEAVE_SWELL_MODE (0x0001u << 5)
37 //----------------------------------------------------------------------//
38 //- Log structure definitions -//
39 //----------------------------------------------------------------------//
40 
48 typedef struct _SbgLogShipMotionData
49 {
50  uint32_t timeStamp;
51  uint16_t status;
53  float shipMotion[3];
54  float shipAccel[3];
55  float shipVel[3];
57 
58 //----------------------------------------------------------------------//
59 //- Operations -//
60 //----------------------------------------------------------------------//
61 
69 
77 
78 #endif
Used to read/write data from/to a memory buffer stream.
SbgErrorCode sbgEComBinaryLogWriteShipMotionData(SbgStreamBuffer *pOutputStream, const SbgLogShipMotionData *pInputData)
SbgErrorCode sbgEComBinaryLogParseShipMotionData(SbgStreamBuffer *pInputStream, SbgLogShipMotionData *pOutputData)
Main header file for SBG Systems common C library.
enum _SbgErrorCode SbgErrorCode
struct _SbgLogShipMotionData SbgLogShipMotionData


sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22