GpsMessageFormat
GpsMessageFormat

Contains the logic for the "GPS Message Format" command

Constants
Packet Bytes
CMD_ID

CMD_GPS_MESSAGE_FORMAT  - The InertialTypes::Command for this command

FIELD_DATA_BYTE

0x81  - The Data Field Descriptor byte

Functions
buildCommand_get
static ByteStream buildCommand_get()

Builds the bytes for the "get" command

Returns

A ByteStream that holds the bytes that make up the command

buildCommand_set
static ByteStream buildCommand_set(
const InertialChannels &channels,
uint16 sampleRateBase
)

Builds the bytes for the "set" command.

Parameters
channels
const InertialChannels&

The InertialChannels holding the channels to be set. This should only contain channels that are in the GPS (0x81) descriptor set.

sampleRateBase
uint16

The base sample rate for the gps command set.

Returns

A ByteStream that holds the bytes that make up the command

Exceptions