DriveWorks SDK Reference
5.4.5418 Release
For Test and Development only

Lidar.h File Reference

Detailed Description

NVIDIA DriveWorks API: Lidar

Description: This file defines the Lidar sensor.

Definition in file Lidar.h.

Go to the source code of this file.

Data Structures

struct  dwLidarDecodedPacket
 
struct  dwLidarPointRTHI
 
struct  dwLidarPointXYZI
 Holds a Lidar point cloud XYZ and the associated intensity. More...
 
struct  dwLidarProperties
 

Macros

#define DW_SENSORS_LIDAR_MAX_RETURNS   10
 Maximum number of distinct lidar returns a point cloud can contain. More...
 
#define DW_SENSORS_LIDAR_MAX_ROWS   256
 

Enumerations

enum  dwLidarReturnType {
  DW_LIDAR_RETURN_TYPE_ANY = 0,
  DW_LIDAR_RETURN_TYPE_FIRST = 1 << 0,
  DW_LIDAR_RETURN_TYPE_LAST = 1 << 1,
  DW_LIDAR_RETURN_TYPE_STRONGEST = 1 << 2,
  DW_LIDAR_RETURN_TYPE_ABS_STRONGEST = 1 << 3,
  DW_LIDAR_RETURN_TYPE_1 = 1 << 4,
  DW_LIDAR_RETURN_TYPE_2 = 1 << 5,
  DW_LIDAR_RETURN_TYPE_3 = 1 << 6,
  DW_LIDAR_RETURN_TYPE_4 = 1 << 7,
  DW_LIDAR_RETURN_TYPE_5 = 1 << 8,
  DW_LIDAR_RETURN_TYPE_6 = 1 << 9
}
 Enum to indicate a single return type. More...
 

Functions

DW_API_PUBLIC dwStatus dwSensorLidar_disableDecoding (dwSensorHandle_t const sensor)
 Disable the decoding of the Lidar packets, which frees additional CPU load. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_enableDecoding (dwSensorHandle_t const sensor)
 Enables the decoding of the Lidar packets, which incurs an additional CPU load. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_getProperties (dwLidarProperties *const lidarProperties, dwSensorHandle_t const sensor)
 Gets information about the Lidar sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_isDecodingEnabled (bool *const enable, dwSensorHandle_t const sensor)
 Retrieves the state of packet decoding. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_processRawData (dwLidarDecodedPacket const **const data, uint8_t const *const rawData, size_t const size, dwSensorHandle_t const sensor)
 Decodes RAW data previously read and returns a pointer to it. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_readPacket (dwLidarDecodedPacket const **const data, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
 Reads one scan packet. More...
 
DW_API_PUBLIC dwStatus dwSensorLidar_returnPacket (dwLidarDecodedPacket const *const data, dwSensorHandle_t const sensor)
 Returns the data read to the internal pool. More...