1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_rig_sample Rig Configuration Sample
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
8 @section dwx_rig_description Description
10 The Rig Configuration sample demonstrates how to read the rig configuration from the
11 XML file produced by the NVIDIA<sup>®</sup> DriveWorks Rig Configuration Tool.
13 @section dwx_rig_config_running Running the Sample
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.
17 ./sample_rig --rigconfig=[path/to/rig/file]
18 --outputrigconfig=[path/to/otuput/rig/file]
22 --rigconfig=[path/to/rig/file]
23 Points to the rig file.
24 Default value: path/to/data/samples/sfm/triangulation/rig.json
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.
31 @section dwx_rig_config_output Output
33 The Rig Configuration sample prints the content of the rig file to the console:
46 Protocol: camera.virtual
49 Protocol: camera.virtual
52 Protocol: camera.virtual
55 Protocol: camera.virtual
57 @section dwx_rig_config_more Additional information
59 For more details see @ref rig_mainsection.