Do you tell me detail information of the following function and Layer, which is mentioned on Webiner on the link below?
Is there any sample cord to implement them?
Function:
-Sensortypecustom()
-Decordercustom()
Layer:
-SensorTypeCustom
-DecorderCustom
My confusing is that there seems different exploration between Webiner and SDK documents regarding as plugin sequence.
On webiner slide page 42, layers called SensorTypeCustom and DecorderCustom are mentioned, however I can’t find out the related information on SDk documents.
In addition, Webiner says calling of Sensortypecustom() and Decordercustom() are required before calling of _dwSensorPlugin_createHandle() from DecorderCustom layer, however, SDK documents says that SAL calls dwSensorPlugin_createHandle() directly from plugin, as following.
44 SAL will then make the following calls to your plugin:
45
46 | # | Function Call | Purpose |
47 | - | ------------- | ------- |
48 | 1 | dwSensorPlugin_createHandle()
| Initialize a context for this sensor (allocate resources, etc.) |
49 | 2 | dwSensorRadarPlugin_getDecoderConstants()
| Retrieve necessary constants |
Next, Webiner says that SAL calls readRawdata() before calling of dwSensorPlugin_readRawData() from SensorTypeCustom, however SDK documents says that SAL calls dwSensorPlugin_readRawData() from plugin without calling both of them, as following.
88 raw data from the device. Once the sensor has been started via a
89 dwSensorPlugin_start()
call, SAL will make the following calls to your plugin:
90
91 | # | Function Call | Purpose |
92 | - | ------------- | ------- |
93 | 1 | dwSensorPlugin_readRawData()
| Provide raw data for a single sensor message as a byte array |
Reference:
webiner:https://info.nvidia.com/using-custom-sensors-with-driveworks.html?ondemandrgt=yes
SDK documents: 04_DRIVE_SW_10.0_References/DRIVE_Software/DRIVE_AV_doxy_files/radar__fullsensor_8md_source.html
Thank you.
**Hardware Platform:DRIVE AGX Xavier™ Developer Kit
**Software Version:DRIVE Software 10
**Host Machine Version: native Ubuntu 18.04
**SDK Manager Version: 1.0.1.5538