47#ifndef DW_SENSORS_RADAR_RADAR_H_
48#define DW_SENSORS_RADAR_RADAR_H_
225 const uint8_t*
const rawData,
size_t const size,
dwSensorHandle_t const sensor);
dwStatus
Status definition.
NVIDIA DriveWorks API: Radar
NVIDIA DriveWorks API: RadarScan
Defines the structure for reporting sensor mount position.
Defines the properties of the radar.
Defines the type of scan (combination of return type & range)
Defines the structure for reporting current vehicle dynamics state.
NVIDIA DriveWorks API: Sensors
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
DW_API_PUBLIC dwStatus dwSensorRadar_readScan(const dwRadarScan **const data, const dwTime_t timeoutUs, dwSensorHandle_t const sensor)
Reads one scan chunk.
DW_API_PUBLIC dwStatus dwSensorRadar_toggleScanType(bool const enable, dwRadarScanType const scanType, dwSensorHandle_t const sensor)
Enables/Disables a scan type for the radar sensor.
DW_API_PUBLIC dwStatus dwSensorRadar_readData(const dwRadarScan **const data, const dwRadarScanType type, const dwTime_t timeoutUs, dwSensorHandle_t const sensor)
Reads a single packet, which might be an entire scan or a fraction of a scan, which is sensor depende...
DW_API_PUBLIC dwStatus dwSensorRadar_processRawData(const dwRadarScan **const data, const uint8_t *const rawData, size_t const size, dwSensorHandle_t const sensor)
Decodes raw data previously read onto the application side structure.
DW_API_PUBLIC dwStatus dwSensorRadar_setMountPosition(dwRadarMountPosition *const data, dwSensorHandle_t const sensor)
Sends the radar mount position information to the radar.
DW_API_PUBLIC dwStatus dwSensorRadar_returnData(const dwRadarScan *const scan, dwSensorHandle_t const sensor)
Returns the data read to the internal pool.
DW_API_PUBLIC dwStatus dwSensorRadar_setDataDecoding(bool const enable, dwSensorHandle_t const sensor)
Enables/disables the decoding of the Radar packets, which incurs in additional CPU load.
DW_API_PUBLIC dwStatus dwSensorRadar_setVehicleState(dwRadarVehicleState *const data, dwSensorHandle_t const sensor)
Sends vehicle dynamics information to the radar.
DW_API_PUBLIC dwStatus dwSensorRadar_getProperties(dwRadarProperties *const radarProperties, dwSensorHandle_t const sensor)
Gets information about the radar sensor.
DW_API_PUBLIC dwStatus dwSensorRadar_returnScan(const dwRadarScan *const scan, dwSensorHandle_t const sensor)
Returns the data covering an entire scan read to the internal pool.
DW_API_PUBLIC dwStatus dwSensorRadar_getScanDataSize(size_t *size, dwRadarScan const *scan)
Get size of the data buffer of a radar scan.
DW_API_PUBLIC dwStatus dwSensorRadar_copyScan(dwRadarScan *dst, dwRadarScan const *src)
Deep-copy a radar scan.
Defines the structure for a complete radar scan.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.