diff --git a/Docs/python_api.md b/Docs/python_api.md index 1cc97f39d..f5a8ed9a8 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -1004,6 +1004,22 @@ Every type except for NONE. --- +## carla.LidarDetection +Data contained inside a [carla.LidarMeasurement](#carla.LidarMeasurement). Each of these represents one of the points in the cloud with its location and its asociated intensity. + +

Instance Variables

+- **point** (_[carla.Location](#carla.Location)_) +Point in xyz coordinates. +- **intensity** (_float_) +Computed intensity for this point. + +

Methods

+ +
Dunder methods
+
- **\__str__**(**self**) + +--- + ## carla.LidarMeasurement
Inherited from _[carla.SensorData](#carla.SensorData)_

Class that defines the lidar data retrieved by a sensor.lidar.ray_cast. This essentially simulates a rotating lidar using ray-casting. Learn more about this [here](ref_sensors.md#lidar-raycast-sensor). @@ -1031,7 +1047,7 @@ Retrieves the number of points sorted by channel that are generated by this meas

- **\__getitem__**(**self**, **pos**=int) - **\__iter__**(**self**) - **\__len__**(**self**) -- **\__setitem__**(**self**, **pos**=int, **location**=[carla.Location](#carla.Location)) +- **\__setitem__**(**self**, **pos**=int, **detection**=[carla.LidarDetection](#carla.LidarDetection)) - **\__str__**(**self**) ---