InertialDataPacket
public
InertialPacket
InertialDataPacket

An Inertial Data Packet that contains both valid and invalid data from an Inertial Device.

Functions
InertialDataPacket
InertialDataPacket()

Creates a default constructed InertialDataPacket

InertialDataPacket
explicit InertialDataPacket(
const InertialPacket &packet
)

Creates an InertialDataPacket object

Parameters
packet

The InertialPacket that was found to be an InertialDataPacket

Variables
m_dataFields
InertialDataFields m_dataFields

The InertialDataFields that are contained within this packet

m_points
InertialDataPoints m_points

The InertialDataPoints within this packet

m_timeStamp
Timestamp m_timeStamp

The Timestamp of when this packet was received

Functions
parseDataFields
void parseDataFields()

Parses the passed in InertialPacket for all the field information and adds a data field to the InertialDataFields container Also parses out all the InertialDataPoints in the fields that were created and adds them to m_points

parsePointsInField
void parsePointsInField(
const InertialDataField &field
)

Parses an InertialDataField for InertialDataPoints and puts them into m_points

Parameters
field

The InertialDataField to parse for data points

data
const InertialDataPoints& data() const

Gets all the InertialDataPoints that are contained within this packet

Returns

The InertialDataPoints that are contained within this packet

timestamp
Timestamp timestamp() const

Gets the Timestamp representing when the packet was received by MSCL Note: This is not the same as when the user asked for the "nextDataPacket"

Returns

A Timestamp representing when the packet was received by MSCL

Types
InertialDataPackets

Typedef for a vector of InertialDataPacket objects.