Communication Protocol
32 / 50
Copyright (c) 2009-2013 RoboPeak Team
Copyright (c) 2013-2019 Shanghai Slamtec Co., Ltd.
Data Processing of the Express Scan Data (Dense Capsuled Express
Scans)
When working in this express scan mode, every sampling distance value is stored in
the cabin structural body. The distance value is matched with the actual distance
measured in this sampling, and the corresponding angle data can be calculated out
with the start_angle_q6 in this request. The detailed calculation method is shown as
following:
Figure 4-24 The Abstract Description for the Response Data Packet of Express
Scan Request
The symbols in the figure are same as preceding section, but measurement
sampling point πΆ
ο
only carries a distance value π·ππ π‘ππππ
ο
. The actual angle π
ο
of
π·ππ π‘ππππ
ο
can be obtained as follows:
π
ο
= π
ο
+
π΄πππππ·πππ(π
ο
,π
οοΎο΅
)
40
β
π
where
AngleDiff
(
π
ο
,π
οοΎο΅
)
=
ο
π
οοΎο΅
β π
ο
, π
ο
β€ π
οοΎο΅
360 + π
οοΎο΅
β π
ο
, π
ο
> π
οοΎο΅
.
Response descriptor flag S:
After entering express scan mode, the first sent data response packet always has
the S flag set to 1. In the following measuring process, if the angle value cannot be
calculated via the above formula due to rotating speed instability or something
wrong, RPLIDAR will reset the flag S. Then the host system is supposed to restart
the data analysis based on the current response data packet set as flag S.
Start Express Scan
Mode
π
οΆ
πΆ
οΆ
πΆ
ο΅
πΆ
ο
οΎ
ο΅
πΆ
ο
πΆ
οΈο΄
πΆ
ο·ο½
β¦
π
ο΅
πΆ
οΆ
πΆ
ο΅
πΆ
οΈο΄
πΆ
ο·ο½
β¦
π
ο
πΆ
οΆ
πΆ
ο΅
β¦
β¦
The First Data
Re
sponse Packet
C
abin
π
ο΅
π
οΆ
π
ο
πΆ
ο
:
(
π·ππ π‘ππππ
ο
)
πΆ
ο
οΎ
ο΅
:
(
π·ππ π‘ππππ
ο
οΎ
ο΅
)
β¦