User Manual

Table Of Contents
LeddarVu User Guide Page 64 of 129
Table 30: Get detection messages (detection fields)
Offset
Length
Description
0
2
The distance (little-endian). Distance unit is defined by serial port
parameters
2
2
The amplitude times 64 [that is, amplitude = this field/64 (little-endian)]
4
1
4 bits are flags describing the measurement (all others are reserved):
Bit 0 - Detection is valid (will always be set)
Bit 1 - Detection is the result of object demerging
Bit 3 - Detection is saturated
Bit 6 - Detection is within the crosstalk zone
5
1
Segment number
Three more data fields follow the detection list:
Table 31: Get detection messages (trailing fields)
Offset
Length
Description
0
4
Timestamp of the acquisition (little-endian). The timestamp is expressed
as the number of milliseconds since the device was started.
4
1
Current light source power as a percentage of maximum.
5
2
Bit-field acquisition. Reserved
For an example of a 0x41 Modbus function, refer to Appendix B.