- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
The Data Sensor sample reads file/socket data and prints the timestamp and size of the received packet.
The sample requires the driver and parameters of the data sensor. It accepts the following arguments:
./sample_datasensor --driver=[data.virtual|data.socket] --params=[comma/separated/key/value/pairs]
Where:
--driver=[data.virtual|data.socket] Allows to specify which data sensor driver to use. Default value: data.virtual --params=[comma/separated/key/value/pairs] Different parameters are available for each data sensor driver. Default value: file=path/to/data/samples/sensors/data/data_packet.bin
For every valid data sensor packet, the sample prints to the console data such as: