Angle data (‘a1’ = 0x4131), Preamble, Packet type – Moog Crossbow GNAV540 User Manual

Page 77: Length, Payload, Termination, A1 payload contents, Byte offset, Name, Format

Advertising
background image

 

 

 

 

GNAV540 Use

nual 

7430‐0808‐01  Rev. B 

Page 77

r Ma

 

A0 Payload Contents 

Byte 

set 

Off

Name 

Format  Scaling 

Units 

Description 

26 

GPSITOW 

U2 

truncated 

ms 

GPS ITOW (lower 2 bytes) 

28 

BITstatus 

U2 

— 

— 

Master BIT and Status 

Angle Data Packet 1 (Default AHRS Data)  

Table 45  A1 Data Packet 

Angle Data (‘A1’ = 0x4131) 

Preamble  Packet Type 

Length 

Payload 

Termination 

0x5555 

0x4131 

0x20 

<A1 payload> 

<CRC (U2)> 

This packet contains angle data and selected sensor data scaled in most cases to a signed 2^16 2’s complement 

number.  Data involving angular measurements include the factor pi in the scaling and can be interpreted in either 
radians or degrees.   

• Angles: scaled to a range of (‐pi, +pi) or (‐180 deg to +180 deg) 

 (‐630 deg/sec to +630 deg/sec) 

Angular rates: scaled to range of 3.5* (‐pi,+pi) or

• Accelerometers: scaled to a range of (‐10,+10) g 
• Magnetometers: scaled to a range of (‐1,+1) Gauss 
• Temperature: scaled to a range of (‐100, +100) °C 

Table 46  A1 Payload 

A1 Payload Contents 

Byte 

ffset 

O

Name 

Format  Scaling 

Units 

Description 

rollAngle 

I2 

2*pi/2^16 

(360°/2^16

Radians 
(°) 

Roll angle 

pitchAngle 

I2 

2*pi/2^16 

(360°/2^16

Radians 
(°) 

Pitch angle 

yawAngleMag 

I2 

2*pi/2^16 

(360°/2^16

Radians 
(°) 

Yaw angle (magnetic north) 

xRateCorrected 

I2 

7*pi/2^16 

6) 

(1260°/2^1

rad/s 

(°/sec

X angular rate Corrected 

yRateCorrected 

I2 

7*pi/2^16 

6) 

(1260°/2^1

rad/s 

(°/sec

Y angular rate Corrected 

10 

zRateCorrected 

I2 

7*pi/2^16 

^16) 

(1260°/2

rad/s 

/sec) 

Z angular rate Corrected 

12 

xAccel 

I2 

20/2^16 

X accelerometer 

14 

yAccel 

I2 

20/2^16 

Y accelerometer 

16 

zAccel 

I2 

20/2^16 

Z accelerometer 

Advertising