DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

SignalInterface.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_SIGNALINTERFACE_H_
32 #define DW_WORLDMODEL_SIGNALINTERFACE_H_
33 
48 #include <dw/core/Types.h>
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
54 #define DW_MAX_BULBS_PER_LIGHT 8
55 #define DW_TRAFFIC_LIGHT_STATES_MAX_COUNT 32
56 #define DW_TRAFFIC_LIGHT_ARRAY_MAX_COUNT 32
57 
59 typedef enum dwTrafficLightColor {
68 
71 
73 typedef enum dwTrafficLightMode {
83 
85 typedef enum dwTrafficLightShape {
113 
135 
137 typedef struct dwSignalBody
138 {
140  uint64_t trackId;
142  uint64_t sensorIdMask;
147 } dwSignalBody;
148 
150 typedef struct dwBulbState
151 {
156  uint64_t counterValue;
157 } dwBulbState;
158 
160 typedef struct dwTrafficLightState
161 {
164  uint32_t count;
166 
170 typedef struct dwTrafficLight
171 {
174  uint32_t lightStatesCount;
176 
178 typedef struct dwTrafficLightsArray
179 {
181  uint32_t count;
183 
184 #ifdef __cplusplus
185 }
186 #endif
187 
190 #endif // DW_WORLDMODEL_SIGNALINTERFACE_H_
float32_t confidence
Confidence value inferred by the tracker that the traffic signal exists.
dwConfidence2f orientationConfidence
Confidence on the traffic signal orientation.
NVIDIA DriveWorks API: Core Types
dwTrafficSignalSubject
Type of actors that the Traffic Light apaplies to.
float float32_t
Specifies POD types.
Definition: Types.h:70
Defines a three-element floating-point vector.
Definition: Types.h:319
dwTrafficLightShape lightShape
Traffic light shape.
dwVector3f orientation
Orientation of the traffic signal.
dwTrafficLightMode
Type of traffic light bulb mode.
dwTrafficLightMode lightMode
Traffic light mode.
#define DW_MAX_BULBS_PER_LIGHT
Structure representing one physical light and the evidence (likelihood) distribution over its states ...
Structure representing one possible state of a traffic light.
uint64_t sensorIdMask
Bitmask indicating which sensors agreed with this.
dwTime_t timestamp_us
Global host system timestamp, the timestamp of the image that contained the sign/light.
Information about a traffic bulb object.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
float32_t probability
Evidence assigned to this state.
uint32_t lightStatesCount
Number of traffic light states/classes are given a non-negligible probability by classifier.
uint32_t count
Number of traffic lights bounding boxes appear in a singla frame.
dwTrafficSignalSubject lightSubject
Actors the traffic light applies to.
uint32_t count
Number of light bulbs that defines a traffic light bounding box.
dwTrafficLightColor lightColor
Traffic light color.
uint64_t counterValue
Counter value (if any)
#define DW_TRAFFIC_LIGHT_STATES_MAX_COUNT
Array of lights (light boards)
dwTrafficLightColor
Type of traffic light bulb color.
#define DW_TRAFFIC_LIGHT_ARRAY_MAX_COUNT
dwVector3f position
3D Position information on a reference point on the traffic signal object
dwSignalBody signalBody
Physical property of a light.
uint64_t trackId
Track ID of the traffic signal object persistent over time.
dwTrafficLightShape
Type of traffic light bulb shape.
dwConfidence3f positionConfidence
Confidence on the traffic signal position.
Attributes to represent one physical traffic light/sign.