pyrobosim.sensors.lidar.Lidar2D.get_measurement

Lidar2D.get_measurement() ndarray

Gets the latest sensor measurement.

Returns:

An array of all the lengths, corresponding to the angles attribute.