DATA PACKET FORMAT
12
LGS-N50
DATA CONVERSION
Angle calculation
To calculate the angle of LGS-N50, follow the example below:
1. Obtain angle value: 0xaa & 0x1d
2. Swap high bits and low bits: 0x1d & 0xaa
3. Combine into an unsigned hexadecimal number: 0x1daa
4. Convert to decimal: 7594
5. Multiply by minimum resolution: 0.01°
6. Result: 75.94°
Distance calculation
To calculate the distance of LGS-N50, follow the example below:
1. Obtain distance value: 0x11 & 0x12
2. Swap high bits and low bits: 0x12 & 0x11
3. Combine into an unsigned hexadecimal number: 0x1211
4. Convert to decimal: 4625
5. Multiply by minimum resolution: 1mm
6. Result: 4625mm
Calculation of signal strength
To calculate the signal strength of LGS-N50, follow the example below:
1. Obtain signal strength value: 0x11 & 0x12
2. Swap high bits and low bits: 0x12 & 0x11
3. Combine into an unsigned hexadecimal number: 0x1211
4. Convert to decimal: 4625
5. Result: 4625mm
Preliminary 13-Jan-2021
Summary of Contents for LGS-N50
Page 1: ...LGS N50 USER MANUAL Navigation LiDAR Preliminary 13 Jan 2021 ...
Page 26: ...22 LGS N50 APPENDIX A DATA PACKET Preliminary 13 Jan 2021 ...
Page 27: ...USER MANUAL 23 APPENDIX B MECHANICAL DIMENSIONS Preliminary 13 Jan 2021 ...
Page 28: ...MECHANICAL DIMENSIONS 24 LGS N50 Preliminary 13 Jan 2021 ...
Page 29: ...USER MANUAL 25 APPENDIX C EXAMPLE OF ELECTRICAL CONNECTION OUTPUT Q1 Preliminary 13 Jan 2021 ...
Page 30: ...Preliminary 13 Jan 2021 ...
Page 31: ...Preliminary 13 Jan 2021 ...