DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

RadarTypes.h
Go to the documentation of this file.
1
2// 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"
7// NVIDIA MAKES NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY,
8// OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY
9// IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
10// PARTICULAR PURPOSE.
11//
12// NVIDIA Corporation assumes no responsibility for the consequences of use of
13// such information or for any infringement of patents or other rights of third
14// parties that may result from its use. No license is granted by implication or
15// otherwise under any patent or patent rights of NVIDIA Corporation. No third
16// party distribution is allowed unless expressly authorized by NVIDIA. Details
17// are subject to change without notice. This code supersedes and replaces all
18// information previously supplied. NVIDIA Corporation products are not
19// authorized for use as critical components in life support devices or systems
20// without express written approval of NVIDIA Corporation.
21//
22// Copyright (c) 2022-2023 NVIDIA Corporation. All rights reserved.
23//
24// NVIDIA Corporation and its licensors retain all intellectual property and
25// proprietary rights in and to this software and related documentation and any
26// modifications thereto. Any use, reproduction, disclosure or distribution of
27// this software and related documentation without an express license agreement
28// from NVIDIA Corporation is strictly prohibited.
29//
31#ifndef DW_SENSORS_RADAR_RADARTYPES_H_
32#define DW_SENSORS_RADAR_RADARTYPES_H_
33// Generated by dwProto from radar_types.proto DO NOT EDIT BY HAND!
34// See //3rdparty/shared/dwproto/README.md for more information
35
36#include <dw/core/base/Types.h>
37
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
45typedef enum dwRadarRange {
48
51
54
57
61
63typedef enum dwRadarReturnType {
66
69
72
76
78typedef enum dwRadarDynamicState {
81
84
87
90
93
97
99typedef struct dwRadarScanType
100{
103
107
108// The structs below are serialized in binary and the layout is assummed to be packed
109#pragma pack(push, 1)
110
118typedef struct dwRadarDetection
119{
123
127
131
135
138
141
144
147
150
153
157
158#pragma pack(pop)
159
160// The structs below are serialized in binary and the layout is assummed to be packed
161#pragma pack(push, 1)
162
164typedef struct dwRadarTrack
165{
167 uint32_t id;
168
170 uint32_t age;
171
174
177
180
183
186
189
192
195
198
201
204
207
210
213
216
220
221#pragma pack(pop)
222
224typedef struct dwRadarStatus
225{
231
237
243
246
249
252
257
262
265
268
271
275
278{
281
284
287
291
294{
296 uint32_t sensorId;
297
300
303
306
310
312typedef struct dwRadarProperties
313{
316
318 uint32_t numScanTypes;
319
322
325
328
333
336
339
342
346
347#ifdef __cplusplus
348}
349#endif
350
351#endif // DW_SENSORS_RADAR_RADARTYPES_H_
NVIDIA DriveWorks API: RadarScan
dwRadarModel
Defines the radar sensor model.
Definition: RadarScan.h:50
float32_t velocity
Longitudinal velocity (m/s)
Definition: RadarTypes.h:280
uint32_t scansPerSecond
Number of scans (of a particular type) per second.
Definition: RadarTypes.h:332
float32_t confidence
Confidence of object existence (range: 0-1);.
Definition: RadarTypes.h:173
uint32_t inputPacketsPerSecond
Number of input odometry packets per second.
Definition: RadarTypes.h:335
bool elevationValid
Indicates validity of z position.
Definition: RadarTypes.h:218
float32_t y
Y-position (m), with elevation assumed to be 0 note: y = radius * std::sin(azimuth)
Definition: RadarTypes.h:126
float32_t x
X-position (m) of sensor mounting in AUTOSAR-coordinates from CoG Estimated radar position/orientatio...
Definition: RadarTypes.h:230
uint32_t supportedScanTypes[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT]
Enumerates the types of scans supported by the radar.
Definition: RadarTypes.h:321
dwRadarRange range
Scan range.
Definition: RadarTypes.h:105
uint32_t numScanTypes
Number of supported scan types.
Definition: RadarTypes.h:318
bool sensorOK
Indicates if this is OK.
Definition: RadarTypes.h:267
float32_t wheelbase
Size of wheel-base (m)
Definition: RadarTypes.h:302
float32_t Ay
Y-component (m/s^2) of the aceleration.
Definition: RadarTypes.h:197
float32_t x
X-position (m), with elevation assumed to be 0 note: x = radius * std::cos(azimuth)
Definition: RadarTypes.h:122
bool elevationValidity
Indicates validity of the elevation angle.
Definition: RadarTypes.h:152
dwRadarReturnType returnType
Type of radar return.
Definition: RadarTypes.h:102
float32_t lateralAcceleration
Lateral acceleration (m/s^2)
Definition: RadarTypes.h:286
dwTransformation3f radarPosition
Radar position.
Definition: RadarTypes.h:299
float32_t azimuthDeviation[DW_RADAR_RANGE_COUNT]
Deviation of azimuth angle for returns (radians) This is the deviation of the measured azimuth from w...
Definition: RadarTypes.h:256
float32_t radialAcceleration
Radial acceleration (m/s^2)
Definition: RadarTypes.h:212
float32_t acceleration
Longitudinal acceleration (m/s^2)
Definition: RadarTypes.h:283
size_t radarSSISizeInBytes
RadarSSI size in bytes, so user know the memory to be allocated for dwRadarScan.radarSSI.
Definition: RadarTypes.h:344
float32_t roll
Roll angle of sensor (radians)
Definition: RadarTypes.h:251
float32_t elevationAngle
Angle of elevation (radians)
Definition: RadarTypes.h:149
float32_t yaw
Yaw angle of sensor (radians)
Definition: RadarTypes.h:245
bool sensorBlock
Indicates if the sensor is blocked.
Definition: RadarTypes.h:273
float32_t azimuth
Azimuth angle (radians)
Definition: RadarTypes.h:200
float32_t Vy
Y-component (m/s) of the velocity.
Definition: RadarTypes.h:191
bool sensorDisturbed
Indicates if the sensor is disturbed due to interference.
Definition: RadarTypes.h:270
float32_t elevationDeviation[DW_RADAR_RANGE_COUNT]
Deviation of elevation angle for returns (radians) This is the deviation of the elevation azimuth fro...
Definition: RadarTypes.h:261
bool sensorAligned
Indicates if the sensor is aligned.
Definition: RadarTypes.h:264
uint32_t sensorId
Id of the sensor (vendor-specific)
Definition: RadarTypes.h:296
uint32_t maxReturnsPerScan[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT]
Max # of returns in any given scan.
Definition: RadarTypes.h:327
float32_t pitch
Pitch angle of sensor (radians)
Definition: RadarTypes.h:248
float32_t radius
Radial distance (m)
Definition: RadarTypes.h:206
dwRadarModel radarModel
Radar model of the current radar.
Definition: RadarTypes.h:341
uint32_t id
Radar-provided track id.
Definition: RadarTypes.h:167
float32_t Vx
X-component (m/s) of the velocity in the azimuth direction, with elevation assumed to be 0 note: part...
Definition: RadarTypes.h:130
dwRadarDynamicState dynamicState
Dynamic state of the object.
Definition: RadarTypes.h:176
bool isReversed
Indicates if the sensor is reversed from its default orientation.
Definition: RadarTypes.h:308
float32_t y
Y-position (m)
Definition: RadarTypes.h:182
float32_t radius
Radial distance (m)
Definition: RadarTypes.h:140
float32_t azimuth
Azimuth angle (radians)
Definition: RadarTypes.h:137
float32_t Vy
Y-component (m/s) of the velocity in the azimuth direction, with elevation assumed to be 0 note: part...
Definition: RadarTypes.h:134
float32_t rcs
Reflection amplitude (dB)
Definition: RadarTypes.h:146
dwRadarRange
Defines the range of radar return.
Definition: RadarTypes.h:45
@ DW_RADAR_RANGE_LONG
Long Range.
Definition: RadarTypes.h:53
@ DW_RADAR_RANGE_UNKNOWN
Unknown Range.
Definition: RadarTypes.h:56
@ DW_RADAR_RANGE_SHORT
Short Range.
Definition: RadarTypes.h:47
@ DW_RADAR_RANGE_MEDIUM
Medium Range.
Definition: RadarTypes.h:50
@ DW_RADAR_RANGE_COUNT
Count.
Definition: RadarTypes.h:59
float32_t Vx
X-component (m/s) of the velocity.
Definition: RadarTypes.h:188
dwRadarReturnType
Defines the type of radar return.
Definition: RadarTypes.h:63
@ DW_RADAR_RETURN_TYPE_TRACK
Processed tracker output.
Definition: RadarTypes.h:68
@ DW_RADAR_RETURN_TYPE_COUNT
Count.
Definition: RadarTypes.h:74
@ DW_RADAR_RETURN_TYPE_STATUS
Sensor status information.
Definition: RadarTypes.h:71
@ DW_RADAR_RETURN_TYPE_DETECTION
Raw detection.
Definition: RadarTypes.h:65
float32_t y
Y-position (m) of sensor mounting in AUTOSAR-coordinates from CoG Estimated radar position/orientatio...
Definition: RadarTypes.h:236
float32_t x
X-position (m)
Definition: RadarTypes.h:179
float32_t Ax
X-component (m/s^2) of the acceleration.
Definition: RadarTypes.h:194
uint32_t packetsPerScan
Definition: RadarTypes.h:324
float32_t radialVelocity
Radial velocity (m/s)
Definition: RadarTypes.h:143
float32_t radialVelocity
Radial velocity (m/s)
Definition: RadarTypes.h:209
float32_t SNR
Signal to noise ratio (dBr)
Definition: RadarTypes.h:155
float32_t yawRate
Yaw rate (radians/s)
Definition: RadarTypes.h:289
bool isSimulation
Indicates whether the sensor is simulated.
Definition: RadarTypes.h:338
uint32_t age
Age of tracked object (in scans)
Definition: RadarTypes.h:170
dwRadarDynamicState
Defines the dynamic state of the radar return.
Definition: RadarTypes.h:78
@ DW_RADAR_DYNAMIC_STATE_STOPPED
Stopped (was moving, now stationary)
Definition: RadarTypes.h:92
@ DW_RADAR_DYNAMIC_STATE_CROSS_TRAFFIC
Cross-traffic.
Definition: RadarTypes.h:89
@ DW_RADAR_DYNAMIC_STATE_STATIONARY
Stationary.
Definition: RadarTypes.h:83
@ DW_RADAR_DYNAMIC_STATE_UNKNOWN
Unknown.
Definition: RadarTypes.h:95
@ DW_RADAR_DYNAMIC_STATE_ONCOMING
Oncoming.
Definition: RadarTypes.h:86
@ DW_RADAR_DYNAMIC_STATE_MOVING
Moving.
Definition: RadarTypes.h:80
float32_t damping
Damping of radome (db)
Definition: RadarTypes.h:305
float32_t rcs
Compensated reflection amplitude (dB)
Definition: RadarTypes.h:215
uint8_t isDecodingOn
Indicates whether decoding is enabled.
Definition: RadarTypes.h:315
float32_t z
Z-position (m) of sensor mounting in AUTOSAR-coordinates from CoG Estimated radar position/orientatio...
Definition: RadarTypes.h:242
float32_t z
Z-position (m)
Definition: RadarTypes.h:185
float32_t azimuthRate
Rate of change of azimuth angle (radians/s)
Definition: RadarTypes.h:203
Defines the return structure for a raw radar detection in sensor coordinates.
Definition: RadarTypes.h:119
Defines the structure for reporting sensor mount position.
Definition: RadarTypes.h:294
Defines the properties of the radar.
Definition: RadarTypes.h:313
Defines the type of scan (combination of return type & range)
Definition: RadarTypes.h:100
Defines the return structure for sensor status messages.
Definition: RadarTypes.h:225
Defines the track which the radar provides.
Definition: RadarTypes.h:165
Defines the structure for reporting current vehicle dynamics state.
Definition: RadarTypes.h:278
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59
Specifies a 3D rigid transformation.
Definition: MatrixTypes.h:186