DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

samples/calibration/radar/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_radar_calibration_sample Radar Calibration Sample
4 @tableofcontents
5 
6 @section dwx_radar_calibration_descrption Description
7 
8 The NVIDIA<sup>&reg;</sup> DriveWorks Radar self-calibration sample shows how to use the
9 DriveWorks Radar self-calibration module. The sample uses RadarDopplerMotion to determine the radar motion for each radar scan.
10 Then, use the corresponding radar motion to estimate the radar yaw angle. Using radar we can calibrate
11 also other odometry properties. That is `velocity_factor`, which maps speed measurement as reported by the odometry to speed as measured using radars,
12 and `wheel_radius[]` which is the radius of each wheel.
13 
14 @section dwx_radar_calibration_running Running the Sample
15 
16 The Radar calibration sample, `sample_calibration_radar`, accepts the following optional parameters. If none are specified, the Radar extrinsics are estimated on
17 a default dataset.
18 
19  ./sample_calibration_radar --rig=[path/to/rig/configuration/file]
20  --output-rig=[output/rig/file]
21  --radar-sensor=[integer/sensor-name]
22  --camera-sensor=[integer/sensor-name]
23  --can-sensor=[integer/sensor-name]
24  --calibrate-odometry-properties=[1]
25 
26 where
27 
28  --rig=[path/to/rig/configuration/file]
29  Path to the rig configuration file.
30  Default value: data/samples/recordings/highway0/rig8Radars.json
31 
32  --output-rig=[output/rig/file]
33  Output rig configuration file, which contains updated Radar Extrinsics, velocity_factor, and updated wheel radii.
34  Default value: rig_updated.json
35 
36  --radar-sensor=[integer]
37  The index or name of the radar sensor in the rig configuration file to calibrate
38  Default value: 0
39 
40  --camera-sensor=[integer]
41  The index or name of the camera sensor in the rig configuration file (used for visualization only)
42  Default value: 0
43 
44  --can-sensor=[integer]
45  The index or name of the CAN sensor in the rig configuration file
46  Default value: 0
47 
48  --calibrate-odometry-properties=[1]
49  Bitwise combination of: [1] wheel radius calibration using selected radar [2] enable odometry speed factor. Specifying [3] will enable both.
50 
51 To pause the sample, press `SPACE`.
52 \n To exit the sample, press `ESC`.
53 
54 @note Depending on `--rigOutFile`, you may need to start the sample with **sudo**
55 
56 @section dwx_radar_calibration_output Output
57 
58 ![Radar Calibration Sample](sample_calibration_radar.png)
59 
60 @section dwx_radar_calibration_more Additional information
61 
62 For more information on Radar calibration, see @ref calibration_usecase_radar.