
14
With this packet, the EXLs3 units sends the real-time, the
acceleration
, the
angular velocity
and the
magnetic field
, as well as the estimated
orientation
of the unit.
Together are also packed the value of the EXLs3’s
battery voltage
and a progressive
packet counter
.
The actual values of
acceleration
,
angular velocity
,
magnetic field
and
orientation
can be calculated with
the formulas described in paragraph
Measurement Units
.
Byte0
Byte1
Byte2..Byte3
Byte4 .. Byte9
Byte10 .. Byte15
Byte16 .. Byte21
Byte22 .. Byte29
Byte30
..
Byte31
Byte32
0x20
PKT_TYPE
PKT_CNT ACC_DATA GYR_DATA MAG_DATA ORIENT_DATA V_BATT
CHKSUM
PKT_TYPE= 0x9F
packet header which identify the
type
of packet.
PKT_COUNT:
progressive
packet number ranging from 0 to 10000
Byte2
Byte3
PKT_CNT _L
PKT_CNT _H
ACC_DATA :
acceleration
data sub-packed as following:
Byte4
Byte5
Byte6
Byte7
Byte8
Byte9
AccX_L
AccX_H
AccY_L
AccY_H
AccZ_L
AccZ_H
AccX_H : AccX_L
:
X
component
of the acceleration (16-bit, 2-complement)
AccY_H : AccY_L
:
Y
component
of the acceleration (16-bit, 2-complement)
AccZ_H : AccZ_L
:
Z
component
of the acceleration (16-bit, 2-complement)
GYR_DATA:
angular velocity
data packed as following:
Byte10
Byte11
Byte12
Byte13
Byte14
Byte15
GyrX_L
GyrX_H
GyrY_L
GyrY_H
GyrZ_L
GyrZ_H
GyrX_H : GyrX_L
:
X
component
of the angular rate (16-bit, 2-complement)
GyrY_H : GyrY_L
:
Y
component
of the angular rate (16-bit, 2-complement)
GyrZ_H : GyrZ_L
:
Z
component
of the angular rate (16-bit, 2-complement)
MAG_DATA:
magnetic field
data packed as following:
Byte16
Byte17
Byte18
Byte19
Byte20
Byte21
MagX_L
MagX_H
MagY_L
MagY_H
MagZ_L
MagZ_H
MagX_H : MagX_L
:
X
component
of the magnetic field (16-bit, 2-complement)
MagY_H : MagY_L
:
Y
component
of the magnetic field (16-bit, 2-complement)
MagZ_H : MagZ_L
:
Z
component
of the magnetic field (16-bit, 2-complement)
ORIENT_DATA:
orientation
data packed as following:
Byte22
Byte23
Byte24
Byte25
Byte26
Byte27
Byte28
Byte29
Q0_L
Q0_H
Q1_L
Q1_H
Q2_L
Q2_H
Q3_H
Q3_H
Q0_H : Q0_L
:
Q0
component
of the normalized quaternion (16-bit, , 2-complement)
Q1_H : Q1_L
:
Q1
component
of the normalized quaternion (16-bit, , 2-complement)
Q2_H : Q2_L
:
Q2
component
of the normalized quaternion (16-bit, , 2-complement)
Q3_H : Q3_L
:
Q3
component
of the normalized quaternion (16-bit, , 2-complement)
V_BAT:
battery voltage
(in mV) data packed as following:
Byte30
Byte31
Vbat_L
Vbat_H