Ksavedone (frame id 16, Kusercalsamplecount (frame id 17, Kcalscore (frame id 18 – PNI SeaTRAX User Manual

Page 57: 16 ksavedone (frame id 16, 17 kusercalsamplecount (frame id 17, 18 kcalscore (frame id 18

Advertising
background image

PNI Sensor Corporation

DOC#1018154 r02

SeaTRAX User Manual

Page 52

7.3.16 kSaveDone (frame ID 16

d

)

This frame is the response to kSave frame. The payload contains a UInt16 error code: 0

indicates no error; 1 indicates an error when attempting to save data to memory.

7.3.17 kUserCalSampleCount (frame ID 17

d

)

This frame is sent from the SeaTRAX after taking a calibration sample point. The

payload contains the sample count with the range of 1 to 32.

7.3.18 kCalScore (frame ID 18

d

)

The calibration score is automatically calculated and sent after taking the final calibration

point, although it may take >1 minute for the score to be calculated. The payload is

defined below, and the payload components are discussed after this.

MagCalScore:

MagCalScore provides an over-riding quality indicator of the magnetometer
calibration. Acceptable scores will be ≤1 for Full-Range Calibration, ≤2 for other
methods. Note that it is possible to get acceptable scores for DistError and TiltError

and still have a rather high MagCalScore value. The most likely reason for this is the

SeaTRAX is close to a source of local magnetic distortion that is not fixed with

respect to the device. In the event of an aborted calibration the score will be 179.8d,

or in the event of an accel-only calibration the score will be 99.99d.

AccelCalScore:

This score represents the over-riding quality of the accelerometer calibration. An
acceptable score is ≤1. In the event of an aborted calibration the score will be 179.8

d

,

or in the event of a mag-only calibration the score will be 99.99

d

.

Payload

MagCalScore

Float32

Reserved

Float32

AccelCalScore

Float32

Float32

Float32

Float32

DistError

TiltError

TiltRange

SampleCount#

UInt32

Payload

Error Code

UInt16

Payload

Advertising