33#ifndef SBG_ECOM_LOG_SHIP_MOTION_H
34#define SBG_ECOM_LOG_SHIP_MOTION_H
48#define SBG_ECOM_SHIP_MOTION_HEAVE_VALID (0x0001u << 0)
49#define SBG_ECOM_SHIP_MOTION_VEL_AIDED (0x0001u << 1)
50#define SBG_ECOM_SHIP_MOTION_SURGE_SWAY_VALID (0x0001u << 2)
51#define SBG_ECOM_SHIP_MOTION_RESERVED (0x0001u << 3)
52#define SBG_ECOM_SHIP_MOTION_HEAVE_PERIOD_VALID (0x0001u << 4)
53#define SBG_ECOM_SHIP_MOTION_SWELL_MODE (0x0001u << 5)
54#define SBG_ECOM_SHIP_MOTION_ACCEL_VALID (0x0001u << 6)
107#ifdef SBG_ECOM_USE_DEPRECATED_MACROS
108 #define SBG_ECOM_HEAVE_VALID SBG_ECOM_SHIP_MOTION_HEAVE_VALID
109 #define SBG_ECOM_HEAVE_VEL_AIDED SBG_ECOM_SHIP_MOTION_VEL_AIDED
110 #define SBG_ECOM_HEAVE_SURGE_SWAY_INCLUDED SBG_ECOM_SHIP_MOTION_SURGE_SWAY_VALID
111 #define SBG_ECOM_HEAVE_PERIOD_INCLUDED SBG_ECOM_SHIP_MOTION_HEAVE_PERIOD_VALID
112 #define SBG_ECOM_HEAVE_PERIOD_VALID SBG_ECOM_SHIP_MOTION_HEAVE_PERIOD_VALID
113 #define SBG_ECOM_HEAVE_SWELL_MODE SBG_ECOM_SHIP_MOTION_SWELL_MODE
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
SbgErrorCode sbgEComLogShipMotionWriteToStream(const SbgEComLogShipMotion *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogShipMotionReadFromStream(SbgEComLogShipMotion *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogShipMotion SbgEComLogShipMotion
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogShipMotion.h:72
float shipMotion[3]
Definition sbgEComLogShipMotion.h:76
float shipAccel[3]
Definition sbgEComLogShipMotion.h:77
uint16_t status
Definition sbgEComLogShipMotion.h:74
float mainHeavePeriod
Definition sbgEComLogShipMotion.h:75
uint32_t timeStamp
Definition sbgEComLogShipMotion.h:73
float shipVel[3]
Definition sbgEComLogShipMotion.h:78