DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Radar Calibration Sample
SW Release Applicability: This sample is available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.


The NVIDIA® DriveWorks Radar self-calibration sample shows how to use the DriveWorks Radar self-calibration module. The sample uses RadarDopplerMotion to determine the radar motion for each radar scan. Then, use the corresponding radar motion to estimate the radar yaw angle. Using radar we can calibrate also other odometry properties. That is velocity_factor, which maps speed measurement as reported by the odometry to speed as measured using radars, and wheel_radius[] which is the radius of each wheel.

Running the Sample

The Radar calibration sample, sample_calibration_radar, accepts the following optional parameters. If none are specified, the Radar extrinsics are estimated on a default dataset.

./sample_calibration_radar --rig=[path/to/rig/configuration/file]


    Path to the rig configuration file.
    Default value: data/samples/recordings/highway0/rig8Radars.json

    Output rig configuration file, which contains updated Radar Extrinsics, velocity_factor, and updated wheel radii.
    Default value: rig_updated.json

    The index or name of the radar sensor in the rig configuration file to calibrate
    Default value: 0

    The index or name of the camera sensor in the rig configuration file (used for visualization only)
    Default value: 0

    The index or name of the CAN sensor in the rig configuration file
    Default value: 0

    Bitwise combination of: [1] wheel radius calibration using selected radar [2] enable odometry speed factor. Specifying [3] will enable both.

To pause the sample, press SPACE.
To exit the sample, press ESC.

Depending on --rigOutFile, you may need to start the sample with sudo


Radar Calibration Sample

Additional information

For more information on Radar calibration, see Radar Self-Calibration.