DriveWorks SDK Reference
5.20.37 Release
For Test and Development only

RadarPlugin.h
Go to the documentation of this file.
1
2//
3// Notice
4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8//
9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10// information or for any infringement of patents or other rights of third parties that may
11// result from its use. No license is granted by implication or otherwise under any patent
12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13// expressly authorized by NVIDIA. Details are subject to change without notice.
14// This code supersedes and replaces all information previously supplied.
15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16// components in life support devices or systems without express written approval of
17// NVIDIA CORPORATION & AFFILIATES.
18//
19// SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21//
22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23// property and proprietary rights in and to this material, related
24// documentation and any modifications thereto. Any use, reproduction,
25// disclosure or distribution of this material and related documentation
26// without an express license agreement from NVIDIA CORPORATION or
27// its affiliates is strictly prohibited.
28//
30
38#ifndef DW_SENSORS_RADAR_PLUGIN_H
39#define DW_SENSORS_RADAR_PLUGIN_H
40
43
52#ifdef __cplusplus
53extern "C" {
54#endif
55
57typedef struct
58{
61
64
67
70
73
77
97
109
123typedef dwStatus (*dwSensorRadarPlugin_validatePacket)(const char* rawData, size_t size, dwRadarScanType* messageType,
125
138
143typedef struct
144{
151
166
169#ifdef __cplusplus
170}
171#endif
172
173#endif
dwStatus
Status definition.
Definition: ErrorDefs.h:44
NVIDIA DriveWorks API: Radar
@ DW_RADAR_RANGE_COUNT
Count.
Definition: RadarTypes.h:79
@ DW_RADAR_RETURN_TYPE_COUNT
Count.
Definition: RadarTypes.h:97
Defines the properties of the radar.
Definition: RadarTypes.h:381
Defines the type of scan (combination of return type & range)
Definition: RadarTypes.h:168
Defines the structure for reporting current vehicle dynamics state.
Definition: RadarTypes.h:346
NVIDIA DriveWorks: Common Sensor Plugin Interface
Defines the structure for a complete radar scan.
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
Function Table exposing common plugin functions.
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
Definition: RadarPlugin.h:147
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
Definition: RadarPlugin.h:146
dwRadarProperties properties
Radar properties.
Definition: RadarPlugin.h:60
dwSensorCommonPluginFunctions common
Definition: RadarPlugin.h:145
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
Definition: RadarPlugin.h:75
dwSensorRadarPlugin_setVehicleState setVehicleState
Definition: RadarPlugin.h:149
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: RadarPlugin.h:63
size_t maxPacketsPerScan
Maximum packets per scan.
Definition: RadarPlugin.h:69
dwSensorRadarPlugin_validatePacket validatePacket
Definition: RadarPlugin.h:148
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
Definition: RadarPlugin.h:108
dwStatus dwSensorRadarPlugin_getFunctionTable(dwSensorRadarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor.
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
Definition: RadarPlugin.h:123
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
Definition: RadarPlugin.h:137
dwStatus(* dwSensorRadarPlugin_parseDataBuffer)(dwRadarScan *output, const dwRadarScanType scanType, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Definition: RadarPlugin.h:95
Holds constants for a given radar.
Definition: RadarPlugin.h:58
Holds the list of exported functions implemented by the vendor-provided library.
Definition: RadarPlugin.h:144