Provides an interface for non-standard Lidar sensors.
- Note
- SW Release Applicability: These APIs are available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.
◆ _dwSensorLidarDecoder_constants
struct _dwSensorLidarDecoder_constants |
Data Fields |
size_t |
maxPayloadSize |
Packet max payload size, in bytes. |
dwLidarProperties |
properties |
Lidar properties. |
◆ dwSensorLidarPluginFunctionTable
struct dwSensorLidarPluginFunctionTable |
◆ dwSensorLidarPlugin_getDecoderConstants
Gets constants associated with this lidar sensor.
- Parameters
-
[out] | constants | Constant parameters for this sensor are written here. |
[in] | sensor | Specifies the sensor to which the constants are related. |
- Returns
- DW_FAILURE, DW_SUCCESS
Definition at line 95 of file LidarPlugin.h.
◆ dwSensorLidarPlugin_parseDataBuffer
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
The interpreted memory buffer outputted from this API is owned by the plugin. The plugin shall support multiple buffers in flight via this API.
- Parameters
-
[out] | output | Pointer to decoded lidar point cloud |
[in] | hostTimeStamp | Specifies the host timeStamp when raw data was received. |
[in] | sensor | Specifies the sensor the data came from. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_NOT_AVAILABLE - if no frame is ready for consumption DW_SUCCESS
Definition at line 83 of file LidarPlugin.h.
◆ dwSensorLidarPlugin_getFunctionTable()
Returns the table of functions that are provided by the vendor-provided library for the sensor.
- Parameters
-
[out] | functions | Function table exported by the library |
- Returns
- DW_FAILURE - unspecified failure while getting the function table.
DW_SUCCESS