get_laser_info()
  • 1 Minute to read

get_laser_info()


Article summary

Get the following LiDAR technical information:

  • Minimum detection angle.
  • Maximum detection angle.
  • Angle increment between measurements.

Reference

Arguments

ArgumentTypeDefault value
ang_unitenumANG_UNIT.DEGENUM to select the unit of the angle: (ANG_UNIT.DEG) degrees or (ANG_UNIT.RAD) radians

Return

Dictionary with the following keys:

KeyValue
angle_incrementAngle increment between measurements.
angle_minMinimum detection angle.
angle_maxMaximum 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?

What's Next