DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

GPS Plugin Sample


The GPS Plugin sample implements a sensor driver for a CAN-based GPS using the comprehensive sensor plugin framework. This uses a DriveWorks CAN Bus sensor to provide raw data.

Running the sample

This sample compiles as a shared library (.so) that can be used with the DriveWorks Sensor Abstraction Layer (SAL).

This plugin can be used in conjunction with the GPS Location Logger Sample to test and verify functionality:

./sample_gps_logger --driver=gps.custom

For playing back GPS data recorded with a custom plugin, the following command line can be used:

./sample_gps_logger --driver=gps.virtual
The precompiled decoder library is called

Additional Information

For more information, please refer to Custom GPSs (Comprehensive).