DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/data/README.md
Go to the documentation of this file.
1 # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_data_sensor_sample Data Sensor Sample
4 @tableofcontents
5 @section dwx_data_sensor_sample_description Description
6 
7 The Data Sensor sample reads file/socket data and prints the timestamp and size of the received packet.
8 
9 @section dwx_data_sensor_sample_running Running the Sample
10 
11 The sample requires the driver and parameters of the data sensor. It accepts the following arguments:
12 
13  ./sample_datasensor --driver=[data.virtual|data.socket]
14  --params=[comma/separated/key/value/pairs]
15 
16 Where:
17 
18  --driver=[data.virtual|data.socket]
19  Allows to specify which data sensor driver to use.
20  Default value: data.virtual
21 
22  --params=[comma/separated/key/value/pairs]
23  Different parameters are available for each data sensor driver.
24  Default value: file=path/to/data/samples/sensors/data/data_packet.bin
25 
26 @note For a full list of key/value pairs that can be passed to --params see @ref dwx_sensor_enum_sample .
27 
28 @section dwx_data_sensor_sample_output Output
29 
30 For every valid data sensor packet, the sample prints to the console data such as:
31 
32 ```
33 [1588118153011907] received frame of size: 6
34 [1588118154913607] received frame of size: 6
35 [1588118156872613] received frame of size: 6
36 [1588118158846329] received frame of size: 6
37 [1588118163976672] received frame of size: 6
38 ```