get_raw_data()¶
Get detection information from robot’s LiDAR.
Reference¶
Arguments¶
Argument |
Type |
Default value |
|
|---|---|---|---|
|
|
|
ENUM
to select the unit of the angle:
( |
Return¶
List with lenght
len = 1 + round((angle_max-angle_min)/angle_increment).
Position |
Value |
|---|---|
|
Distance at |
|
Distance at |
|
Distance at |
… |
… |
|
Distance at |
angle_min | Minimum detection angle. |angle_max | Maximum detection angle. |Exceptions¶
See the complete list of lidar exceptions.
Usage Example¶
...
self.lidar = self.enable_controller('lidar')
...
raw_data = self.lidar.get_raw_data()
print(f'Lenght of raw_data: {len(raw_data)}')
print('Raw Data')
print(raw_data)
...