get_laser_info()
- 1 Minute to read
get_laser_info()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get the following LiDAR technical information:
- Minimum detection angle.
- Maximum detection angle.
- Angle increment between measurements.
Reference
Arguments
Argument | Type | Default value | |
---|---|---|---|
ang_unit | enum | ANG_UNIT.DEG | ENUM to select the unit of the angle: (ANG_UNIT.DEG ) degrees or (ANG_UNIT.RAD ) radians |
Return
Dictionary with the following keys:
Key | Value |
---|---|
angle_increment | Angle increment between measurements. |
angle_min | Minimum detection angle. |
angle_max | Maximum detection angle. |
Examples
Getting Lidar information in degrees
...
self.lidar = self.enable_controller('lidar')
...
lidar_info = self.lidar.get_laser_info()
print(lidar_info)
...
Output
{ 'angle_min':-90.0, 'angle_max':90.0, 'angle_increment':1.0 }
Go back to the Lidar Controller page.
Was this article helpful?