46 #ifndef DW_SENSORS_LIDAR_LIDAR_H__ 47 #define DW_SENSORS_LIDAR_LIDAR_H__ 49 #include <dw/core/Config.h> 54 #pragma pack(push,1) // Make sure we have consistent structure packings 88 char deviceString[256];
242 #endif // DW_SENSORS_LIDAR_LIDAR_H__
DW_API_PUBLIC dwStatus dwSensorLidar_enableDecoding(dwSensorHandle_t sensor)
Enables the decoding of the Lidar packets, which incurs an additional CPU load.
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
uint32_t packetsPerSecond
DW_API_PUBLIC dwStatus dwSensorLidar_processRawData(const dwLidarDecodedPacket **data, const uint8_t *rawData, size_t size, dwSensorHandle_t sensor)
Decodes RAW data previously read and returns a pointer to it.
DW_API_PUBLIC dwStatus dwSensorLidar_setDecodingFormat(dwLidarDecodeFormat format, dwSensorHandle_t sensor)
Sets decoding format of the point cloud.
uint64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Holds a Lidar point cloud XYZ and the associated intensity.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
dwStatus
Status definition.
NVIDIA DriveWorks API: Sensors
DW_API_PUBLIC dwStatus dwSensorLidar_getProperties(dwLidarProperties *lidarProperties, dwSensorHandle_t sensor)
Gets information about the Lidar sensor.
DW_API_PUBLIC dwStatus dwSensorLidar_readPacket(const dwLidarDecodedPacket **data, dwTime_t timeout_us, dwSensorHandle_t sensor)
Reads one scan packet.
const void * points
Pointer to the array of points.
DW_API_PUBLIC dwStatus dwSensorLidar_isDecodingEnabled(dwBool *enable, dwSensorHandle_t sensor)
Retrieves the state of packet decoding.
DW_API_PUBLIC dwStatus dwSensorLidar_returnPacket(const dwLidarDecodedPacket *scan, dwSensorHandle_t sensor)
Returns the data read to the internal pool.
DW_API_PUBLIC dwStatus dwSensorLidar_disableDecoding(dwSensorHandle_t sensor)
Disable the decoding of the Lidar packets, which frees additional CPU load.
DW_API_PUBLIC dwStatus dwSensorLidar_getDecodingFormat(dwLidarDecodeFormat *format, dwSensorHandle_t sensor)
Gets the selected decoding format of the point cloud.