DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

RadarPlugin.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2019-2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
38 #ifndef DW_SENSORS_RADAR_PLUGIN_H
39 #define DW_SENSORS_RADAR_PLUGIN_H
40 
42 #include <dw/sensors/radar/Radar.h>
43 
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55 
57 typedef struct
58 {
61 
64 
66  size_t maxPointsPerPacket[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT];
67 
70 
73 
77 
96 
108 
122 typedef dwStatus (*dwSensorRadarPlugin_validatePacket)(const char* rawData, size_t size, dwRadarScanType* messageType,
124 
137 
142 typedef struct
143 {
150 
161 
164 #ifdef __cplusplus
165 }
166 #endif
167 
168 #endif
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: RadarPlugin.h:63
Defines the structure for a complete radar scan.
Definition: Radar.h:229
void * dwSensorPluginSensorHandle_t
dwStatus(* dwSensorRadarPlugin_parseDataBuffer)(dwRadarScan *output, const dwRadarScanType scanType, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the &#39;dwSensorPlugin_pushData&#39; interface. ...
Definition: RadarPlugin.h:94
NVIDIA DriveWorks API: Radar
NVIDIA DriveWorks: Common Sensor Plugin Interface
Holds the list of exported functions implemented by the vendor-provided library.
Definition: RadarPlugin.h:142
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
Definition: RadarPlugin.h:122
dwSensorCommonPluginFunctions common
Definition: RadarPlugin.h:144
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
Definition: RadarPlugin.h:107
dwStatus
Status definition.
Definition: Status.h:180
Defines the type of scan (combination of return type & range)
Definition: Radar.h:110
Function Table exposing common plugin functions.
Defines the properties of the radar.
Definition: Radar.h:339
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
Definition: RadarPlugin.h:146
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
Definition: RadarPlugin.h:136
size_t maxPacketsPerScan
Maximum packets per scan.
Definition: RadarPlugin.h:69
dwSensorRadarPlugin_validatePacket validatePacket
Definition: RadarPlugin.h:147
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
Definition: RadarPlugin.h:145
dwStatus dwSensorRadarPlugin_getFunctionTable(dwSensorRadarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor...
dwSensorRadarPlugin_setVehicleState setVehicleState
Definition: RadarPlugin.h:148
Defines the structure for reporting current vehicle dynamics state.
Definition: Radar.h:304
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
Definition: RadarPlugin.h:75
dwRadarProperties properties
Radar properties.
Definition: RadarPlugin.h:60
Holds constants for a given radar.
Definition: RadarPlugin.h:57