DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/plugins/gps/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_gps_plugin_sample GPS Plugin Sample
4 @tableofcontents
5 
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 @section dwx_gps_plugin_sample_description Description
9 
10 The GPS Plugin sample implements a sensor driver for a CAN-based GPS
11 using the comprehensive sensor plugin framework. This uses a DriveWorks
12 @ref canbus_mainsection sensor to provide raw data.
13 
14 @section dwx_gps_plugin_sample_run Running the sample
15 
16 This sample compiles as a shared library (.so) that can be used with the
17 DriveWorks Sensor Abstraction Layer (SAL).
18 
19 This plugin can be used in conjunction with the @ref dwx_gps_loc_sample to test
20 and verify functionality:
21 
22  ./sample_gps_logger --driver=gps.custom
23  --params=decoder-path=[path_to_decoder.so],
24  can-proto=[can.virtual|can.socket],
25  [file=<path_to_can_recording.bin>|device=<can_device>]
26 
27 For playing back GPS data recorded with a custom plugin, the following
28 command line can be used:
29 
30  ./sample_gps_logger --driver=gps.virtual
31  --params=file=[path_to_recording.bin],
32  decoder-path=[path_to_decoder.so]
33 
34 @note The precompiled decoder library is called `libsample_gps_plugin.so`.
35 
36 @section dwx_gps_plugin_sample_more Additional Information
37 
38 For more information, please refer to @ref sensorplugins_gpssensor.