EasyManua.ls Logo

quanergy M8 - For Reduced Return; Table 6. Variable Definitions for M8 Packet; Table 7. Variable Definitions for the Packet Data

quanergy M8
90 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
M8 Sensor User Guide, QPN 96-00001 Rev K Page 35
For Reduced Return
Table 6. Variable Definitions for M8 Packet
Field
Type
Unit/Value
Notes
PACKET HEADER
Packet Signature
uint32
Ox75bd7e97
Defines the start of a packet.
Message Size
uint32
bytes
Size of entire message (2224).
Timestamp Seconds
uint32
seconds
When used with a GPS receiver, data packages include
a GPS synchronization timestamp. In the absence of a
GPS receiver, the timestamp refers to a local second
counter with reference to the sensor starting time.
Timestamp Nanoseconds
uint32
nanoseconds
Nanosecond part of timestamp.
API Version Major
uint8
0
API Version Minor
uint8
1
API Version Patch
uint8
0
Packet Type
uint8
0x04
Value 04 is Packet Data.
PACKET DATA (See Table 7)
Table 7. Variable Definitions for the Packet Data
Field
Type
Unit/Value
Notes
Status
uint16
NO_ERROR = 0
VERSIONS_MISMATCH_ERROR = (1U << 0)
FIRMWARE_WATCHDOG_VIOLATION = (1U << 1)
Return ID
uint8
0, 1, or 2
Reserved
uint8
0
M8 Firing Data
M8 Firing Data
0x04[50]
Array of 50 firings, see the last half of this table.
M8 FIRING DATA 0X04
Position
uint16
1/10400
rotation
[0, 10399] Refer to Figure 23.
Reserved
uint16
0
Returns Distances
uint32[8]
10 micrometers
Array of distance measurements per laser (8).
0 indicates an invalid point. This can be one of three
returns as indicated by Return ID.
Returns Intensities
uint8[8]
Array of intensity measurements per laser (8).
255 indicates saturation.

Table of Contents