Ksetdatacomponents (frame id 3, Table 7-3: component identifiers, 3 ksetdatacomponents (frame id 3 – PNI CompassPoint Prime User Manual
Page 41
Prime User Manual r08
Page 35
7.3.3
kSetDataComponents (frame ID 3
d
)
This frame sets the data components in the module's data output. This is not a query for
the module's data (see kGetData). The first byte of the payload indicates the number of
data components followed by the data component IDs.
Count
ID
1
ID
2
ID
3
ID
Count
UInt8
UInt8
UInt8
UInt8
UInt8
Payload
Example: To query the heading and pitch, the payload should contain:
2
5
24
ID Count
Heading ID
Pitch ID
Payload
3
Frame ID
When querying for data (kGetData frame), the sequence of the data component output
follows the sequence of the data component IDs as set in this frame.
Table 7-3: Component Identifiers
Component
Component ID
d
Format
Units
Range
kHeading
5
Float32
degrees
0.0˚ to 359.9˚
kDistortion
8
Boolean
True or False
False (Default)
= no distortion
kCalStatus
9
Boolean
True or False
False (Default)
= not calibrated
kPAligned
21
Float32
G
-1.0 to 1.0
kRAligned
22
Float32
G
-1.0 to 1.0
kIZAligned
23
Float32
G
-1.0 to 1.0
kPAngle
24
Float32
degrees
-
90.0˚ to 90.0˚
kRAngle
25
Float32
degrees
-
180.0˚
to
180.0˚
KXAligned
27
Float32
T
KYAligned
28
Float32
T
KZAligned
29
Float32
T
Component types for kSetDataComponents & kDataResp frames:
kHeading
(Component ID 5
d
)
Compass heading output, in degrees.