38#ifndef DW_SENSORS_RADAR_PLUGIN_H
39#define DW_SENSORS_RADAR_PLUGIN_H
NVIDIA DriveWorks API: Radar
NVIDIA DriveWorks: Common Sensor Plugin Interface
dwStatus
Status definition.
@ DW_RADAR_RANGE_COUNT
Count.
@ DW_RADAR_RETURN_TYPE_COUNT
Count.
Defines the properties of the radar.
Defines the structure for a complete radar scan.
Defines the type of scan (combination of return type & range)
Defines the structure for reporting current vehicle dynamics state.
void * dwSensorPluginSensorHandle_t
Function Table exposing common plugin functions.
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
dwRadarProperties properties
Radar properties.
dwSensorCommonPluginFunctions common
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
dwSensorRadarPlugin_setVehicleState setVehicleState
size_t maxPayloadSize
Packet max payload size, in bytes.
size_t maxPacketsPerScan
Maximum packets per scan.
dwSensorRadarPlugin_validatePacket validatePacket
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
dwStatus dwSensorRadarPlugin_getFunctionTable(dwSensorRadarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor.
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
dwStatus(* dwSensorRadarPlugin_parseDataBuffer)(dwRadarScan *output, const dwRadarScanType scanType, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Holds constants for a given radar.
Holds the list of exported functions implemented by the vendor-provided library.