DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/tools/mapperception/cloud/upload_client/README-tool_mapperception_upload_client.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_tool_mapperception_upload_client MapStream Upload Tool
4 @tableofcontents
5 
6 @section dwx_tool_mapperception_upload_client_description Description
7 
8 The NVIDIA<sup>&reg;</sup> DriveWorks MapStream Upload tool uploads MapStream data to NVIDIA's DRIVE Mapping Cloud.<br>
9 This tool returns a UUID of the uploaded MapStream data so it can be downloaded with the @ref dwx_tool_mapperception_download_client.
10 
11 @note SW Release Applicability: This tool is available in <b>NVIDIA DRIVE Software</b> releases.
12 
13 @section dwx_tool_mapperception_upload_client_prereqs Prerequisites
14 
15 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>&trade;</sup> OS Linux, and NVIDIA DRIVE<sup>&trade;</sup> OS QNX.
16 
17 This tool requires MapStream data created with the RoadRunner application. The
18 input folder must have the same structure as the data serialized from RoadRunner:
19 
20 To get access to the NVIDIA MappingServices IP address and JWT token, please contact your NVIDIA account representative.
21 
22 @section dwx_tool_mapperception_upload_client_usage Running the Tool
23 
24 Run this tool by executing:
25 
26  ./tool_mapperception_upload_client --path=[input_folder]
27  --ipaddress=[ip_address]
28  --port=[port]
29  --token=[token]
30  --secret=[secret]
31  --tags=[tags]
32  [--config=[config file]]
33 
34 If you have a JSON file containing the non-bracketed parameters, you can also run the tool by executing:
35 
36  ./tool_mapperception_upload_client --config=[path to config file]
37 
38 @subsection dwx_tool_mapperception_upload_client_params Parameters
39 
40  --path=[path to input file]
41  Description: Folder path to upload the offline MapStream data to.
42 
43  --ipaddress=[IP address of service to upload to]
44  Description: IP address of the NVIDIA's DRIVE Mapping Cloud upload service.
45  Example: --ipaddress=[localhost]
46 
47  --port=[service port number]
48  Description: Port of NVIDIA's DRIVE Mapping Cloud upload service.
49  Example: --port=[50051]
50 
51  --token=[]
52  Description: Your authorization token.
53 
54  --secret=[]
55  Description: Your authorization secret.
56 
57  --tags=[<key,value>,<key,value>,...]
58  Description: A comma separated list of (key,value) pairs to apply to the MapStream asset.
59  The asset will automatically be tagged with the DriveWorks version.
60 
61  --config=[path to config file]
62  Description: If this parameter is present, the program reads the configuration from a
63  JSON file containing the required parameters.
64  Command line arguments can be used to override what is specified in the file, except for tags.
65  Tags on the command line will supplement and override the existing tags specified within the JSON file.
66 
67 @section dwx_tool_mapperception_upload_client_example Examples
68 
69 @subsection dwx_tool_mapperception_upload_client_withoutconfig Running without the Config File
70 
71  ./tool_mapperception_upload_client --path=[input_folder]
72  --ipaddress=[ip_address]
73  --port=[port]
74  --token=[token]
75  --secret=[secret]
76  --tags=[tags]
77 
78 @subsection dwx_tool_mapperception_upload_client_withconfig Running with the Config File
79 
80  ./tool_mapperception_upload_client --config=../tool_mapperception_upload_client_config.json