DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/tools/rig_json2json/README-rig_json2json.md
Go to the documentation of this file.
1 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_rig_json2json_tool Rig Reserializer Tool
4 @tableofcontents
5 
6 @section dwx_rig_json2json_tool_description Description
7 
8 The NVIDIA<sup>&reg;</sup> DriveWorks Rig Reserializer Tool deserializes and serializes an input rig file, upgrading it to the latest version in the process.<br>
9 
10 @note SW Release Applicability: This tool is available in both <b>NVIDIA DriveWorks</b> and <b>NVIDIA DRIVE Software</b> releases.
11 
12 @section dwx_rig_json2json_tool_prereqs Prerequisites
13 
14 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>&trade;</sup> OS Linux and NVIDIA DRIVE<sup>&trade;</sup> OS QNX.
15 
16 This tool creates an output file that is:
17 - Named [input_rig_name]-new.json if no output rig file is specified
18 - Stored at the same path as the input rig file if no absolute path for the output rig file is specified
19 - Stored at the absolute path provided via the output rig file argument
20 
21 @section dwx_rig_json2json_tool_usage Running the Tool
22 
23 Run this tool by executing:
24 
25  ./rig_json2json input.json [output.json]
26 
27 @subsection dwx_rig_json2json_tool_params Positional parameters
28 
29  [path to input file]
30  Description: The rig file to be re-serialized.
31  If there is no rig file present, the tool will not launch.
32  Default value: N/A
33 
34  [path to output file]
35  Description: The rig file containing the resulting serialized values with the latest version.
36  Default value: <input-rig>-new.json
37 
38 @section dwx_rig_json2json_examples Examples
39 
40  ./rig_json2json /home/user/input-rig.json
41  Results in /home/user/input-rig-new.json
42 
43  ./rig_json2json /home/user/input-rig.json /home/user/result/output-rig.json
44  Results in /home/user/result/output-rig.json
45 
46  ./rig_json2json /home/user/input-rig.json output-rig.json
47  Results in /home/user/output-rig.json