DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Radar.h File Reference

Detailed Description

NVIDIA DriveWorks API: Radar

Description: This file defines the Radar sensor.

Definition in file Radar.h.

Go to the source code of this file.

Data Structures

struct  dwRadarDetection
 The structs below are serialized in binary and the layout is assummed to be packed. More...
 
struct  dwRadarMountPosition
 Defines the structure for reporting sensor mount position. More...
 
struct  dwRadarProperties
 Defines the properties of the radar. More...
 
struct  dwRadarScan
 Defines the structure for a complete radar scan. More...
 
struct  dwRadarScanType
 Defines the type of scan (combination of return type & range) More...
 
struct  dwRadarStatus
 Defines the return structure for sensor status messages. More...
 
struct  dwRadarTrack
 
struct  dwRadarVehicleState
 Defines the structure for reporting current vehicle dynamics state. More...
 

Enumerations

enum  dwRadarDynamicState {
  DW_RADAR_DYNAMIC_STATE_MOVING = 0,
  DW_RADAR_DYNAMIC_STATE_STATIONARY = 1,
  DW_RADAR_DYNAMIC_STATE_ONCOMING = 2,
  DW_RADAR_DYNAMIC_STATE_CROSS_TRAFFIC = 3,
  DW_RADAR_DYNAMIC_STATE_STOPPED = 4,
  DW_RADAR_DYNAMIC_STATE_UNKNOWN = 5
}
 Defines the dynamic state of the radar return. More...
 
enum  dwRadarRange {
  DW_RADAR_RANGE_SHORT = 0,
  DW_RADAR_RANGE_MEDIUM = 1,
  DW_RADAR_RANGE_LONG = 2,
  DW_RADAR_RANGE_UNKNOWN = 3,
  DW_RADAR_RANGE_COUNT = 4
}
 Defines the range of radar return. More...
 
enum  dwRadarReturnType {
  DW_RADAR_RETURN_TYPE_DETECTION = 0,
  DW_RADAR_RETURN_TYPE_TRACK = 1,
  DW_RADAR_RETURN_TYPE_STATUS = 2,
  DW_RADAR_RETURN_TYPE_COUNT = 3
}
 Defines the type of radar return. More...
 

Functions

DW_API_PUBLIC dwStatus dwSensorRadar_getProperties (dwRadarProperties *radarProperties, dwSensorHandle_t sensor)
 Gets information about the Radar sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_processRawData (const dwRadarScan **data, const uint8_t *rawData, size_t size, dwSensorHandle_t sensor)
 Decodes RAW data previously read onto the application side structure. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_readData (const dwRadarScan **data, const dwRadarScanType type, const dwTime_t timeout_us, dwSensorHandle_t sensor)
 Reads a single packet, which might be an entire scan or a fraction of a scan, which is sensor dependent. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_readScan (const dwRadarScan **data, const dwTime_t timeout_us, dwSensorHandle_t sensor)
 Reads a one scan chunk. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_returnData (const dwRadarScan *scan, dwSensorHandle_t sensor)
 Returns the data read to the internal pool. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_returnScan (const dwRadarScan *scan, dwSensorHandle_t sensor)
 Returns the data covering an entire scan read to the internal pool. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_setDataDecoding (bool enable, dwSensorHandle_t sensor)
 Enables/disables the decoding of the Radar packets, which incurs in additional CPU load. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_setMountPosition (dwRadarMountPosition *data, dwSensorHandle_t sensor)
 Sends the radar mount position information to the radar. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_setVehicleState (dwRadarVehicleState *data, dwSensorHandle_t sensor)
 Sends vehicle dynamics information to the radar. More...
 
DW_API_PUBLIC dwStatus dwSensorRadar_toggleScanType (bool enable, dwRadarScanType scanType, dwSensorHandle_t sensor)
 Enables/Disables a scan type for the radar sensor. More...