DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/tools/sensor_can_file_updater/README-Virtual-CAN-File-Updater.md
Go to the documentation of this file.
1 # Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
2 
3 @page virtual_can_file_updater CAN Recording Update Tool
4 
5 The CAN Recording Update Tool upgrades CAN sensor recordings from the old 22 byte dwCanMessage structure to the new 78 byte dwCANMessage structure.<br>
6 The tool will create a new version of the specified file.
7 
8 If seek files are present, then these are also updated.
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 ### Usage
13 
14 ## Typical Usage
15 - Run the application
16 
17  ./sensor_can_file_updater --file=/path/to/file/to/be/updated
18 
19 ## Options
20 ###Required
21 
22 ####Existing file name
23 
24  --file=/path/to/file/to/be/updated
25 
26 ###Optional
27 
28 ####New file version
29 
30  --newVersion=newVersionNumber
31 
32 If no new version number is specified, the the old version number is read from the
33 existing file and +1 added.
34 
35 ####New file name
36 
37  --newFile=/path/to/new/file
38 
39 If no new file is specified, then the new files will be created with _v{newVersionNumber}.
40 
41 ####Radar CAN Mode
42 
43  --radarMode=[True,False]
44 
45 Default value = `False`
46 
47 Continental ARS430 CAN Radar files that have a 12 byte, non CAN entry before the CAN entries of the Radar event.<br>
48 The contents are a 4 byte unsigned int `size` indicating how many bytes are in the CAN radar event, and an 8 byte time stamp.<br>
49 The `size` value is updated to reflect the new `dwCANMessage` size.
50 
51 `True` Use Radar CAN Mode
52 
53 `False` Don't use Radar CAN Mode