DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

ParkingSpace.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) 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 
31 #ifndef DW_WORLDMODEL_PARKINGSPACE_H_
32 #define DW_WORLDMODEL_PARKINGSPACE_H_
33 
49 #include <dw/core/Types.h>
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 #define DW_MAX_PARKING_BOUNDARY_POINT_COUNT 64
56 #define DW_MAX_PARKING_REFERENCE_POINT_COUNT 32
57 #define DW_MAX_PARKING_SPACES_COUNT 32
58 #define DW_MAX_PARKING_SPACES_TYPES_COUNT 32
59 
62 typedef enum dwParkingSpaceType {
81 
84 typedef enum dwParkingBoundaryType {
92 
104 
106 typedef struct dwParkingSpace
107 {
109  uint64_t id;
117  dwParkingReferenceDirectionType referenceDirectionType;
119 
120 typedef struct dwParkingSpaceArray
121 {
125 
126 #ifdef __cplusplus
127 }
128 #endif
129 
132 #endif // DW_WORLDMODEL_PARKINGSPACE_H_
#define DW_MAX_PARKING_BOUNDARY_POINT_COUNT
Definition: ParkingSpace.h:55
NVIDIA DriveWorks API: Core Types
uint32_t referencePointCount
Number of reference points that define direction for parking.
Definition: ParkingSpace.h:115
uint32_t parkingSpacesCount
Definition: ParkingSpace.h:122
dwConfidence2f boundaryPointConfidences[DW_MAX_PARKING_BOUNDARY_POINT_COUNT]
Confidence of location of each point expressed in 2D top down view ground plane.
Definition: ParkingSpace.h:114
dwParkingReferenceDirectionType
Direction of parking allowed within a parking space. Mutually exclusive.
Definition: ParkingSpace.h:94
Defines a three-element floating-point vector.
Definition: Types.h:319
uint64_t id
Tracking ID of the parking space object persistent over time.
Definition: ParkingSpace.h:109
dwParkingReferenceDirectionType referenceDirectionType
Direction of parking allowed.
Definition: ParkingSpace.h:117
Our strategy for uncertainty representation is to give classification confidence scalars for classifi...
Definition: Types.h:510
#define DW_MAX_PARKING_REFERENCE_POINT_COUNT
Definition: ParkingSpace.h:56
dwParkingBoundaryType
Attributes of sides of the polygon representing the parking space object.
Definition: ParkingSpace.h:84
dwTime_t timestamp_us
Global host system timestamp.
Definition: ParkingSpace.h:108
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
uint8_t boundaryType[DW_MAX_PARKING_BOUNDARY_POINT_COUNT]
Class of each side of the polygon.
Definition: ParkingSpace.h:113
dwConfidence1f spaceTypeConfidence[DW_MAX_PARKING_SPACES_TYPES_COUNT]
Array of confidences, one confidence entry per class of the parking space type.
Definition: ParkingSpace.h:110
Information about a single parking space object or a parking strip.
Definition: ParkingSpace.h:106
#define DW_MAX_PARKING_SPACES_TYPES_COUNT
Definition: ParkingSpace.h:58
uint32_t boundaryPointCount
Number of points that outline the parking space or no-parking zone location.
Definition: ParkingSpace.h:111
#define DW_MAX_PARKING_SPACES_COUNT
Definition: ParkingSpace.h:57
dwVector3f referencePoints[DW_MAX_PARKING_REFERENCE_POINT_COUNT]
Coordinates of referencePointCount of 3D points.
Definition: ParkingSpace.h:116
dwParkingSpaceType
Type of parking space object.
Definition: ParkingSpace.h:62
dwVector3f boundaryPoints[DW_MAX_PARKING_BOUNDARY_POINT_COUNT]
Exactly boundaryPointCount number of points outlining a polygon in 3D coordinate system of the car ri...
Definition: ParkingSpace.h:112