1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page sensorplugins_lidardecoder Custom Lidars (Decoder Only)
6 @section plugin_lidarComRqts Lidar Communication Requirements
8 For the Lidar to communicate with NVIDIA DRIVE™ AGX, it must be of the following type:
9 - Ethernet based Lidar that supports either TCP or UDP.
11 @note Native support for Ouster lidars is officially deprecated in favor of the plugin for the AGX platform that is managed and distributed by Ouster. Due to exceeding the POSIX packet size limit for its raw data transmission, users might observe erroneous behavior of the Aurix SoC. (see https://developer.nvidia.com/drive/ecosystem-hw-sw for more details)
13 @section plugin_customLidarDecoderRequirements Custom Lidar Decoder Requirements
15 The module must expose the decoder properties (dwLidarDecoderProperties) defined in the decoder API.
17 @section plugin_customLidarDecoderImpl Custom Lidar Decoder Implementation
19 The sensor implementation uses the custom decoder interface to provide the following functions during operation.
21 Please refer to @ref sensor_plugin_lidar_group for a detailed list of functions.
23 You need to write a program that implements this interface.
25 @section plugin_createLidarSensor Validate Your Plugin by Creating a Custom Lidar Sensor
27 When the currently supported lidars (see Introduction) are chosen, there is no requirement to provide a custom decoder to parse information from the received lidar packets. Under such circumstances, the lidar sensor can be initialized by providing a string of key value pairs in the following format as an input argument to dwSAL_createSensor(…).
29 When currently unsupported lidars are chosen, the customer must provide a custom decoder as a dynamic linked library via the following string of key value pairs as an input argument to dwSAL_createSensor(…).
31 lidar.socket --params=device=CUSTOM,ip=X.X.X.X,port=XXXX,decoder=<path_to_the_decode.so>,protocol={udp, tcp}
33 @section plugin_lidarDataAcquisition Data Acquisition with a Custom Lidar
35 The plugin interfaces currently support the following protocols:
38 - lidar.virtual (for files recorded with this decoder)
40 In order to use the recorder or recorder-qt applications to record from a custom lidar, the `recorder-config.json` file has to be updated as follows:
45 "write-file-pattern": "lidar_*",
48 "protocol": "lidar.socket"
49 "params": "device=CUSTOM,ip=X.X.X.X,
50 port=XXXX,decoder=<path_to_the_decode.so>,
59 "write-file-pattern": "lidar_*",
62 "protocol": "lidar.virtual"
63 "params": "device=CUSTOM,
64 decoder=<path_to_the_decode.so>,
70 @note For more information on data recording, see @ref dwx_recording_devguide_group.