DriveWorks SDK Reference
5.20.37 Release
For Test and Development only

SensorExtras.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-2024 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_COMMON_SENSOREXTRAS_H_
32#define DW_SENSORS_COMMON_SENSOREXTRAS_H_
33// Generated by dwProto from sensor_extras.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
38#ifdef __cplusplus
39extern "C" {
40#endif
41
46
49
52
54 DW_SENSOR_TS_AND_ID_SOURCE_SENSORSERVICE = 3, // More defines to add...
56
57// This amounts to max(SensorTsAndIDSource) + 1, i.e. the required size of
58// an array if these enum values are interpreted as array offsets.
59#define DW_SENSOR_TS_AND_ID_SOURCE_COUNT 4
60
62typedef struct dwSensorTsAndID
63{
66
68 uint64_t sensorId;
69
72
75
77 uint64_t seqNum;
78
81
84
87
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif // DW_SENSORS_COMMON_SENSOREXTRAS_H_
uint64_t sensorId
Sensor id.
Definition: SensorExtras.h:68
dwTime_t rtcTime
RTC timestamp at data consumption.
Definition: SensorExtras.h:86
uint64_t seqNum
Sensor/SAL sequence number for published message.
Definition: SensorExtras.h:77
uint32_t iterationCount
The node iteration counter at data consumption.
Definition: SensorExtras.h:83
bool isDropped
Was the frame corresponding to the timestamp dropped?
Definition: SensorExtras.h:80
dwTime_t tscTime
TSC timestamp at data consumption.
Definition: SensorExtras.h:89
dwSensorTsAndIDSource source
Source of the message.
Definition: SensorExtras.h:65
dwSensorTsAndIDSource
Source of the message.
Definition: SensorExtras.h:43
@ DW_SENSOR_TS_AND_ID_SOURCE_UNSPECIFIED
Unspecified source.
Definition: SensorExtras.h:45
@ DW_SENSOR_TS_AND_ID_SOURCE_SVS
SVS node.
Definition: SensorExtras.h:51
@ DW_SENSOR_TS_AND_ID_SOURCE_SENSOR
Regular sensor.
Definition: SensorExtras.h:48
@ DW_SENSOR_TS_AND_ID_SOURCE_SENSORSERVICE
Sensor services nodes.
Definition: SensorExtras.h:54
dwTime_t publishedTimestamp
Timestamp when the processed sensor data has been published by the sensor node in [us].
Definition: SensorExtras.h:74
dwTime_t timestamp
Timestamp of the sensor.
Definition: SensorExtras.h:71
Hold the timestamp, ID, publishedTimestamp, seqNum and isDropped info of a frame.
Definition: SensorExtras.h:63
NVIDIA DriveWorks API: Core Types
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:65