For the Lidar to communicate with NVIDIA DRIVE™ AGX, it must be of the following type:
The module must expose the decoder properties (dwLidarDecoderProperties) defined in the decoder API.
The sensor implementation uses the custom decoder interface to provide the following functions during operation.
Please refer to Lidar Plugin for a detailed list of functions.
You need to write a program that implements this interface.
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(…).
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(…).
lidar.socket --params=device=CUSTOM,ip=X.X.X.X,port=XXXX,decoder=<path_to_the_decode.so>,protocol={udp, tcp}
The plugin interfaces currently support the following protocols:
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: