Classes | Typedefs | Enumerations | Functions
xsstatusflag.h File Reference
#include "pstdint.h"
Include dependency graph for xsstatusflag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XsStatus
 Status object. More...
 

Typedefs

typedef enum XsStatusFlag XsStatusFlag
 
typedef enum XsStatusFlagOffset XsStatusFlagOffset
 

Enumerations

enum  XsStatusFlag {
  XSF_SelfTestOk = 0x01, XSF_OrientationValid = 0x02, XSF_GpsValid = 0x04, XSF_NoRotationMask = 0x18,
  XSF_NoRotationAborted = 0x10, XSF_NoRotationSamplesRejected = 0x08, XSF_NoRotationRunningNormally = 0x18, XSF_RepresentativeMotion = 0x20,
  XSF_ExternalClockSynced = 0x40, XSF_FilterInputStart = 0x80, XSF_ClipAccX = 0x00000100, XSF_ClipAccY = 0x00000200,
  XSF_ClipAccZ = 0x00000400, XSF_ClipGyrX = 0x00000800, XSF_ClipGyrY = 0x00001000, XSF_ClipGyrZ = 0x00002000,
  XSF_ClipMagX = 0x00004000, XSF_ClipMagY = 0x00008000, XSF_ClipMagZ = 0x00010000, XSF_Retransmitted = 0x00040000,
  XSF_ClippingDetected = 0x00080000, XSF_Interpolated = 0x00100000, XSF_SyncIn = 0x00200000, XSF_SyncOut = 0x00400000,
  XSF_FilterMode = 0x03800000, XSF_HaveGnssTimePulse = 0x04000000, XSF_RtkStatus = 0x18000000
}
 Status flags. More...
 
enum  XsStatusFlagOffset {
  XSFO_OffsetSelfTestOk = 0, XSFO_OffsetOrientationValid = 1, XSFO_OffsetGpsValid = 2, XSFO_OffsetNoRotation = 3,
  XSFO_OffsetRepresentativeMotion = 5, XSFO_OffsetExternalClockSynced = 6, XSFO_OffsetClipAccX = 8, XSFO_OffsetClipAccY = 9,
  XSFO_OffsetClipAccZ = 10, XSFO_OffsetClipGyrX = 11, XSFO_OffsetClipGyrY = 12, XSFO_OffsetClipGyrZ = 13,
  XSFO_OffsetClipMagX = 14, XSFO_OffsetClipMagY = 15, XSFO_OffsetClipMagZ = 16, XSFO_Retransmitted = 18,
  XSFO_ClippingDetected = 19, XSFO_Interpolated = 20, XSFO_SyncIn = 21, XSFO_SyncOut = 22,
  XSFO_FilterMode = 23, XSFO_FilterModeNrOfBits = 3, XSFO_HaveGnssTimePulse = 26, XSFO_RtkStatus = 27,
  XSFO_RtkStatusNrOfBits = 2
}
 Status flag bit offsets. More...
 

Functions

static bool anyAccClipped (int status)
 Return if any acc channel clipped. More...
 
static bool anyGyrClipped (int status)
 Return if any gyr channel clipped. More...
 
static bool anyMagClipped (int status)
 Return if any mag channel clipped. More...
 

Typedef Documentation

◆ XsStatusFlag

typedef enum XsStatusFlag XsStatusFlag

Definition at line 159 of file xsstatusflag.h.

◆ XsStatusFlagOffset

Definition at line 160 of file xsstatusflag.h.

Function Documentation

◆ anyAccClipped()

static bool anyAccClipped ( int  status)
inlinestatic

Return if any acc channel clipped.

Definition at line 163 of file xsstatusflag.h.

◆ anyGyrClipped()

static bool anyGyrClipped ( int  status)
inlinestatic

Return if any gyr channel clipped.

Definition at line 169 of file xsstatusflag.h.

◆ anyMagClipped()

static bool anyMagClipped ( int  status)
inlinestatic

Return if any mag channel clipped.

Definition at line 175 of file xsstatusflag.h.



xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21