Provides an interface for non-standard radar sensors.
- Note
- SW Release Applicability: These APIs are available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.
◆ _dwSensorRadarDecoder_constants
struct _dwSensorRadarDecoder_constants |
◆ dwSensorRadarPluginFunctionTable
struct dwSensorRadarPluginFunctionTable |
◆ dwSensorRadarPlugin_getDecoderConstants
Gets constants associated with this radar sensor.
- Parameters
-
[out] | constants | pointer to constants struct, parameters for this sensor are written here. |
[in] | sensor | Specifies the sensor to which the constants are related. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_FAILURE, DW_SUCCESS
Definition at line 109 of file RadarPlugin.h.
◆ dwSensorRadarPlugin_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 radar scan. |
[in] | scanType | Specifies the scantype of the previously pushed raw data via the 'dwSensorPlugin_pushData' interface. |
[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 scan is ready for consumption DW_INVALID_ARGUMENT - if invalid argument DW_SUCCESS
Definition at line 96 of file RadarPlugin.h.
◆ dwSensorRadarPlugin_setVehicleState
Sends vehicle dynamics information to the radar.
- Parameters
-
[in] | state | A pointer to the struct containing the vehicle dynamics information to send |
[in] | sensor | Specifies the sensor the data came from. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_INVALID_ARGUMENT - if invalid argument DW_SUCCESS
Definition at line 138 of file RadarPlugin.h.
◆ dwSensorRadarPlugin_validatePacket
Validates the raw data packet.
- Parameters
-
[in] | rawData | pointer to raw data |
[in] | size | size of raw data |
[out] | messageType | specifies the radarScanType |
[in] | sensor | Specifies the sensor the data came from. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_FAILURE - if invalid packet DW_SUCCESS
Definition at line 124 of file RadarPlugin.h.
◆ dwSensorRadarPlugin_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