Compute Graph Framework SDK Reference  5.8
ChannelPacketTypes.hpp
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) 2021-2022 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
31#ifndef DW_FRAMEWORK_CHANNEL_DW_PACKET_TYPES_HPP_
32#define DW_FRAMEWORK_CHANNEL_DW_PACKET_TYPES_HPP_
33
34#include <typeinfo>
35#include <cstddef>
36
37#include <dw/core/base/Types.h>
38#include <dw/sensors/imu/IMU.h>
39#include <dw/sensors/gps/GPS.h>
40#include <dw/sensors/lidar/Lidar.h>
41#include <dwcgf/Types.hpp>
42#include <dw/calibration/cameramodel/CameraModel.h>
47#include <dw/image/Image.h>
48#include <dw/interop/streamer/ImageStreamer.h>
49#include <dw/imageprocessing/features/FeatureList.h>
50#include <dw/imageprocessing/filtering/Pyramid.h>
51#include <dw/sensors/lidar/Lidar.h>
52#include <dw/sensors/radar/Radar.h>
53#include <dw/sensors/ultrasonic/Ultrasonic.h>
54#include <dw/pointcloudprocessing/pointcloud/PointCloud.h>
55#include <dw/egomotion/EgomotionState.h>
56#include <dw/egomotion/radar/DopplerMotionEstimator.h>
59#include <dw/sensors/Codec.h>
60#include <dw/sensors/camera/CodecHeaderVideo.h>
61
62namespace dw
63{
64namespace framework
65{
66
68{
69 float32_t* d_nccScores;
70 uint32_t size;
71};
72
74{
75 uint8_t* data;
76 size_t size;
77};
78
79// might have other field added to it, keep it separate from
80// dwSensorNodeRawData for now
82{
83 uint8_t* data;
84 size_t size;
85};
86
88{
89 uint64_t senderTime;
90 size_t size;
91 uint8_t* data;
92};
93
95{
96 dwLidarDecodedPacket* packets;
97 dwLidarPointXYZI* pointsXYZIArray;
98 dwLidarPointRTHI* pointsRTHIArray;
102};
103
105{
106 size_t maxDataSize;
107 size_t dataSize;
108 uint8_t* data;
109};
110
112{
113 dwCodecType codecType;
114 dwCodecConfigVideo configVideo;
115};
116
117} // namespace framework
118} // namespace dw
119
120// wraps around base framework macro but allows us to avoid boiler plating of dw::framework::DWChannelPacketTypeID
121#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(DATA_TYPE, SPECIMEN_TYPE, ENUM_SPEC) \
122 DWFRAMEWORK_DECLARE_PACKET_TYPE_RELATION(DATA_TYPE, SPECIMEN_TYPE, dw::framework::DWChannelPacketTypeID::ENUM_SPEC)
123
124// same as above, but covers simple case where the specimen for data type is data type itself
125#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION_SIMPLE(DATA_TYPE, ENUM_SPEC) \
126 DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(DATA_TYPE, DATA_TYPE, ENUM_SPEC)
127
131DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION_SIMPLE(dwFeatureHistoryArray, DW_FEATURE_HISTORY_ARRAY);
134DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION_SIMPLE(dwLidarDecodedPacket, DW_LIDAR_DECODE_PACKET);
138DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(dwImageHandle_t, dwImageProperties, DW_IMAGE_HANDLE);
139DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(dwPyramidImage, dwPyramidImageProperties, DW_PYRAMID_IMAGE);
140DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(dwEgomotionStateHandle_t, dwEgomotionStateParams, DW_EGOMOTION_STATE_HANDLE);
141DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(dwCodecPacket, size_t, DW_CODEC_PACKET);
143
147DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(dw::framework::CalibratedWheelRadii);
160DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(dwUltrasonicMountingPositions);
165DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(dwVehicleIONonSafetyState);
166DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(dwVehicleIOActuationFeedback);
169DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(dwFThetaCameraConfigNew);
173
174#endif // DW_FRAMEWORK_CHANNEL_DW_PACKET_TYPES_HPP_
DWFRAMEWORK_DECLARE_PACKET_TYPE_POD(int32_t)
#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION_SIMPLE(DATA_TYPE, ENUM_SPEC)
#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(DATA_TYPE, SPECIMEN_TYPE, ENUM_SPEC)
dwCodecMetadata { dwCodecType codecType dwCodecMetadata
dwTraceNodeData { size_t maxDataSize dwTraceNodeData
CameraIntrinsics { uint64_t sensorId dwCameraIntrinsics
dwLidarPointRTHI * pointsRTHIArray
dwLidarPointXYZI * pointsXYZIArray
CalibratedSteeringProperties { dwVehicleSteeringProperties steeringProperties dwCalibratedSteeringProperties
dwLidarPose { dwTime_t timeStampNow dwLidarPose
CalibratedExtrinsics { CalibrationExtrinsicProfileName extrinsicProfileName dwCalibratedExtrinsics
dwCodecConfigVideo configVideo
dwSensorNodeProperties { uint64_t sensorId dwSensorNodeProperties
dwRoadCastNodeCalibrationDataArray { dwRoadCastNodeCalibrationData calibrationData[MAX_CALIBRATION_SENSORS] dwRoadCastNodeCalibrationDataArray
CalibratedIMUIntrinsics { dwVector3f gyroscopeBias dwCalibratedIMUIntrinsics
dwLidarPacketsArray { dwLidarDecodedPacket *packets dwLidarPacketsArray
Definition: Exception.hpp:47