Ksetconfig (frame id 6, 6 ksetconfig (frame id 6 – PNI SeaTRAX User Manual

Page 47

Advertising
background image

PNI Sensor Corporation

DOC#1018154 r02

SeaTRAX User Manual

Page 42

Example:

If heading and pitch are set to be output per the kSetDataComponents

command, the payload would look like:

7.3.6

kSetConfig (frame ID 6

d

)

This frame sets internal configurations in the SeaTRAX. The first byte of the payload is

the configuration ID followed by a format-specific value. These configurations can only

be set one at time. To save these in non-volatile memory, the kSave command must be

issued.

Example: To configure the declination, the payload would look like:

1

Declination

Angle (Float32)

10.0

Declination ID

Payload

Config ID

ID Specific

Value

UInt8

Payload

2

Heading ID

ID Count

Payload

Heading

(Float32)

Pitch ID

Pitch Output

(Float32)

5

359.9

24

10.5

Advertising