beautypg.com

Kaccelcoeffset (config. id 19d), Ksetconfigdone (frame id 19d, 0x13), Kgetconfig (frame id 7d, 0x07) – PNI FieldForce Trax User Manual

Page 49: Kgetconfigresp (frame id 8d, 0x08), Ksetmagtruthmethod (frame id 119d, 0x77), Kgetconfig, Kgetconfigresp, Ksetconfigdone

background image

PNI Sensor Corporation

DOC#1016505 r06

TRAX User Manual

Page 45

kAccelCoeffSet

(Config. ID 19

d

)

This command provides the flexibility to store up to eight (8) sets of

accelerometer calibration coefficients in the TRAX. The default is set number 0.

To store a set of coefficients, first establish the set number (number 0 to 7) using

kAccelCoeffSet, then perform the accelerometer calibration. The coefficient

values will be stored in the defined set number.

kSetConfigDone (frame ID 19

d

, 0X13)

This frame is the response to kSetConfig frame. The frame has no payload.

kGetConfig (frame ID 7

d

, 0X07)

This frame queries the TRAX for the current internal configuration value. The

payload contains the configuration ID requested.

kGetConfigResp (frame ID 8

d

, 0X08)

The response to kGetConfig is given below. The payload contains the configuration

ID and value.

Example: If a request to get the set declination angle, the payload would look like:

kSetMagTruthMethod (frame ID 119

d

, 0X77)

This frame allows the user to have control over the breadth of criteria used to

establish if the local magnetic field conforms to the reference magnetic field criteria.

The “AutoMerge” criteria is the default. The payload is defined below.

1

Declination

Angle (Float32)

10.0

Declination ID

Payload

Config ID

ID Specific

Value

UInt8

Payload

Config ID

UInt8

Payload