1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_vehicleio_plugin_sample VehicleIO Plugin Sample
6 @section dwx_vehicleio_plugin_description Description
8 The VehicleIO Plugin sample demonstrates how to write a custom VehicleIO backend via a
9 dynamically loaded library.
11 For simplicity, this sample only encodes and parses steering commands as
12 specified in a DBC file.
14 @section dwx_vehicleio_plugin_running Running the Sample
16 In order to instruct the VehicleIO module to use the plug-in backend, a rig file
17 should specify a VehicleIO node with `type` parameter set to `"custom"` and
18 `custom-lib` parameter pointing to the dynamically loaded library, e.g.
24 "parent-sensor": "can:vehicle:custom",
25 "custom-lib": "libsample_vehicleio_plugin.so"
30 A sample rig file already provided in `<dw>/data/samples/vehicleio/rig-plugin.json`.
32 Once the rig file is ready, you can run sample_vehicleio:
34 ./sample_vehicleio --rig=path/to/dw/data/samples/vehicleio/rig-plugin.json
36 @section dwx_vehicleio_plugin_more Additional information
38 For more information, see @ref vehicleio_mainsection.