DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

Radar Workflow
Note
SW Release Applicability: This tutorial is applicable to modules in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

The following code snippet shows the general structure of a program that uses a Radar sensor.

dwSAL_start(...);
dwRadarScanType scanType;
for (size_t i = 0; i < static_cast<size_t>(DW_RADAR_RETURN_TYPE_COUNT); ++i) {
for (size_t j = 0; j < static_cast<size_t>(DW_RADAR_RANGE_COUNT); ++j) {
scanType.returnType = static_cast<dwRadarReturnType>(i);
scanType.range = static_cast<dwRadarRange>(j);
status = dwSensorRadar_readScan(..., scanType, ..., ...);
}
}

For more details, refer to Radar Replay Sample.