Skip to main content

Message types

There are three different data message types defined:

  • IMU
  • GPS
  • CAN

IMU message (type = 0x24)

FieldDescriptionByte order1Type2LengthFactorOffsetUnit
TIMESTAMPTimestampMU4500us
ACC_XX - accelerationMS20,244 * 9,80665 / 1000 0m/s2
ACC_YY - accelerationMS20,244 * 9,80665 / 10000m/s2
ACC_ZZ - accelerationMS20,244 * 9,80665 / 10000m/s2
GYRO_XX - angular velocityMS217,5 / 10000°/sec
GYRO_YY - angular velocityMS217,5 / 10000°/sec
GYRO_ZZ - angular velocityMS217,5 / 10000°/sec
TEMPInternal temperatureMS21/25625°C
ACC_XFX - filtered accelerationMS29,80665/30000m/s2
ACC_YFY - filtered accelerationMS29,80665/30000m/s2
ACC_ZFZ - filtered accelerationMS29,80665/30000m/s2
GYRO_XFX - filtered angular velocityMS21/500°/sec
GYRO_YFY - filtered angular velocityMS21/500°/sec
GYRO_ZFZ - filtered angular velocityMS21/500°/sec

Example:

24 1E 00 09 13 51 00 21 01 36 0F C3 FF E4 FF 5D 00 06 FD F2 02 BA 02 18 00 4C FF E8 FF 72 00 05

Fields:

FieldRAW hexRAW decimalValue
TIMESTAMP0x00091351594 76929 738 450 us
ACC_X0x0021330,08 m/s2
ACC_Y0x01363100,74 m/s2
ACC_Z0x0FC340359,66 m/s2
GYRO_X0xFFE4-28-0,49 °/sec
GYRO_Y0xFF5D-163-2,85 °/sec
GYRO_Z0x000660,11 °/sec
TEMP0xFDF2-52622,9 °C
ACC_XF0x02BA6982,28 m/s2
ACC_YF0x02185361,75 m/s2
ACC_ZF0x004C760,25 m/s2
GYRO_XF0xFFE8-24-0,48 °/sec
GYRO_YF0xFF72-142-2,84 °/sec
GYRO_ZF0x000550,1 °/sec

GPS message (type = 0x25)

FieldDescriptionByte order1Type2LengthFactorOffsetUnit
TIMESTAMPTimestampMU4500us
TIMEGPS timeMU810UNIX time in milliseconds
LATITUDEGPS latitudeMS41 / 1000000Latitude in Degrees Minutes
LONGITUDEGPS longitudeMS41 / 1000000Longitude in Degrees Minutes
HDOPGPS hdopMU21 / 1000
ALTITUDEGPS altitudeMU21 / 1000m
SPEEDGPS speedMU21 / 1000km/h

Example:

25 1C 00 3B 1B D8 00 00 01 8F BF 55 E4 39 1C 2D B5 3B 0B 56 EF 3C 00 77 00 00 3E E4 09 EC

Fields:

FieldRAW hexRAW decimalValue
TIMESTAMP0x00381BD83 677 144183 857 200 us
TIME0x0000018FBF55E4391 716 902 028 3452024-05-28 13:13:48.345 UTC
LATITUDE0x1C2DB53B472 757 5634727.57563 => 47° 27.57563’ => 47.45959383°
LONGITUDE0x0B56EF3C190 246 7161902.46716 => 19° 2.46716’ => 19.0411193°
HDOP0x00771191.19
ALTITUDE0x00003EE416 100161 m
SPEED0x09EC2 54025.4 km/h

CAN message (type = 0x26)

FieldDescriptionByte order1Type2LengthFactorOffsetUnit
TIMESTAMPTimestampMU4500us
FLGCAN flagsMU1upper 4 bits is the channel, lower 4 bits is the DLC (data length code)
CAN_IDCAN frame IDMU4most significant bit is the std/xtd flag
DATACAN frame dataMUvariablebyte array, length specified by the DLC

Example:

21 0F 00 0B 17 E9 16 00 00 01 9A AF FD E5 7F 00 20

Fields:

FieldRAW hexRAW decimalValue
TIMESTAMP0x000B17E9727 01736 350 850 us
FLG0x16Channel: 0x01, DLC: 0x06Channel: 1, DLC: 6
CAN_ID0x0000019ASTD/EXT:0, CAN ID: 0x19AStandard CAN frame, ID: 410
DATA0xAF 0xFD 0xE5 0x7F 0x00 0x20

Footnotes

  1. M – Motorola, I - Intel 2 3

  2. Unsigned integer, S – signed integer 2 3