DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/rig/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_rig_sample Rig Configuration Sample
4 @tableofcontents
5 
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 @section dwx_rig_description Description
9 
10 The Rig Configuration sample demonstrates how to read the rig configuration from the
11 XML file produced by the NVIDIA<sup>&reg;</sup> DriveWorks Rig Configuration Tool.
12 
13 @section dwx_rig_config_running Running the Sample
14 
15 The Rig Configuration sample, sample_rig, accepts the path to a fig configuration file. If it is not specified, it will use a default one.
16 
17  ./sample_rig --rigconfig=[path/to/rig/file]
18  --outputrigconfig=[path/to/otuput/rig/file]
19 
20 where
21 
22  --rigconfig=[path/to/rig/file]
23  Points to the rig file.
24  Default value: path/to/data/samples/sfm/triangulation/rig.json
25 
26  --outputrigconfig=[path/to/otuput/rig/file]
27  Output rig file. This parameter is only used to demonstrate the
28  deserialization API. The output rig file is a copy of the input one.
29  Default value: none
30 
31 @section dwx_rig_config_output Output
32 
33 The Rig Configuration sample prints the content of the rig file to the console:
34 
35  Vehicle Information:
36  width: 1.874000
37  height: 1.455000
38  length: 4.915000
39  wheelbase: 2.912000
40  Sensor Count: 5
41  Sensor 0:
42  Name: can
43  Protocol: can.virtual
44  Sensor 1:
45  Name: SVIEW_FR
46  Protocol: camera.virtual
47  Sensor 2:
48  Name: SVIEW_RE
49  Protocol: camera.virtual
50  Sensor 3:
51  Name: SVIEW_LE
52  Protocol: camera.virtual
53  Sensor 4:
54  Name: SVIEW_RI
55  Protocol: camera.virtual
56 
57 @section dwx_rig_config_more Additional information
58 
59 For more details see @ref rig_mainsection.