InertialFieldParser
InertialFieldParser
FieldParser_BeaconedTimestamp
FieldParser_ClockInfo
FieldParser_CompensatedAccel
FieldParser_DeltaThetaVector
and 57 other children
FieldParser_DeltaVelocityVector
FieldParser_DGPSChannelStatus
FieldParser_DGPSInfo
FieldParser_DOP
FieldParser_ECEFPosition
FieldParser_ECEFVelocity
FieldParser_EstimatedAccelBias
FieldParser_EstimatedAccelBiasUncertainty
FieldParser_EstimatedAccelScaleFactor
FieldParser_EstimatedAccelScaleFactorUncertainty
FieldParser_EstimatedAngularRate
FieldParser_EstimatedAttEulerUncertainty
FieldParser_EstimatedAttQuaternUncertainty
FieldParser_EstimatedEulerAngles
FieldParser_EstimatedGravityVector
FieldParser_EstimatedGyroBias
FieldParser_EstimatedGyroBiasUncertainty
FieldParser_EstimatedGyroScaleFactor
FieldParser_EstimatedGyroScaleFactorUncertainty
FieldParser_EstimatedLinearAccel
FieldParser_EstimatedLLHPosition
FieldParser_EstimatedLLHPosUncertainty
FieldParser_EstimatedMatrix
FieldParser_EstimatedNEDUncertainty
FieldParser_EstimatedNEDVelocity
FieldParser_EstimatedQuaternion
FieldParser_EulerAngles
FieldParser_FilterStatus
FieldParser_GpsAntennaOffsetCorrection
FieldParser_GpsAntennaOffsetCorrectionUncert
FieldParser_GpsCorrelationTimestamp
FieldParser_GPSFixInfo
FieldParser_GPSTime
FieldParser_HardwareStatus
FieldParser_HeadingUpdateSource
FieldParser_InternalTimestamp
FieldParser_LLHPosition
FieldParser_MagneticModelSolution
FieldParser_NAV_GPS_Timestamp
FieldParser_NEDVelocity
FieldParser_OrientationMatrix
FieldParser_OrientationUpdateMatrix
FieldParser_PressureAlt
FieldParser_Quaternion
FieldParser_RawAccelVector
FieldParser_RawGyroVector
FieldParser_RawMagVector
FieldParser_ScaledAccelVector
FieldParser_ScaledAmbientPressure
FieldParser_ScaledGyroVector
FieldParser_ScaledMagVector
FieldParser_SpaceVehicleInfo
FieldParser_StabilizedAccelVector
FieldParser_StabilizedMagVector
FieldParser_StdAtmModel
FieldParser_UTCTime
FieldParser_WGS84LocalGravMagnitude

Base Class parser for parsing Inertial Data Fields

Functions
parse
virtual void parse(
const InertialDataField &field,
InertialDataPoints &result
) const = 0

Parses an InertialDataField for InertialDataPoints and stores them in the result vector

Parameters
field

The InertialDataField to parse for data points

result
InertialDataPoints&

The InertialDataPoints vector to store the data points in

parseField
static void parseField(
const InertialDataField &field,
InertialDataPoints &result
)

The static parse function to call that looks through the parser map and parses the field with the correct parser

Parameters
field

The InertialDataField to parse for data points

result
InertialDataPoints&

The InertialDataPoints vector to store the data points in

getParserMap
static ParserMap& getParserMap()

Gets the static parser map that contains all the registered parsing classes

Returns

A ParserMap holding all the parse functions in a map

registerParser
static bool registerParser(
InertialTypes::ChannelField field,
const InertialFieldParser *parser
)

Registers an InertialFieldParser with a InertialTypes::ChannelField.

Returns

true if the parser was registered successfully, false if it failed (already existed).

pointIsValid
static bool pointIsValid(
uint16 allFlags,
uint16 flagPos
)

Checks if the flag position for an Inertial Data Point is valid given the full flags value

Parameters
allFlags
uint16

The full flags value representing all the valid and invalid flags

flagPos
uint16

The binary position of the flag to check if it is valid (1) or invalid (0)

Returns

true if the flag position is valid, false if the flag position is invalid