DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

GlobalEgomotionSerialization.h
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) 2020-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
92#ifndef DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZER_H_
93#define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZER_H_
94
96
97#ifdef __cplusplus
98extern "C" {
99#endif
100
101typedef struct dwGlobalEgomotionSerializer* dwGlobalEgomotionSerializerHandle_t;
102typedef struct dwGlobalEgomotionSerializer const* dwGlobalEgomotionSerializerConstHandle_t;
103
104typedef struct dwGlobalEgomotionDeserializer* dwGlobalEgomotionDeserializerHandle_t;
105typedef struct dwGlobalEgomotionDeserializer const* dwGlobalEgomotionDeserializerConstHandle_t;
106
111{
115
134 size_t historySize,
136
161 size_t const bufferCapacity, dwGlobalEgomotionHandle_t handle);
162
179 dwGlobalEgomotionHandle_t globalEgomotion);
180
181#ifdef __cplusplus
182}
183#endif
185#endif // DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZER_H_
dwStatus
Status definition.
Definition: ErrorDefs.h:44
Holds global egomotion state estimate.
Holds global egomotion uncertainty estimate.
NVIDIA DriveWorks API: Global Egomotion Methods
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:86
#define DW_API_PUBLIC
Definition: Exports.h:56
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
dwGlobalEgomotionUncertainty uncertainty
DW_API_PUBLIC dwStatus dwGlobalEgomotion_serialize(dwGlobalEgomotionStateElement *buffer, size_t *bufferSize, size_t const bufferCapacity, dwGlobalEgomotionHandle_t handle)
Serialize the global egomotion state history out into the provided buffer.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initializeDeserializer(dwGlobalEgomotionHandle_t *handle, size_t historySize, dwContextHandle_t ctx)
Initializes a global egomotion deserializer object.
DW_API_PUBLIC dwStatus dwGlobalEgomotion_deserialize(dwGlobalEgomotionStateElement *buffer, size_t bufferSize, dwGlobalEgomotionHandle_t globalEgomotion)
Deserialize the global egomotion state history from the provided buffer.
struct dwGlobalEgomotionDeserializer const * dwGlobalEgomotionDeserializerConstHandle_t
struct dwGlobalEgomotionSerializer const * dwGlobalEgomotionSerializerConstHandle_t
struct dwGlobalEgomotionSerializer * dwGlobalEgomotionSerializerHandle_t
struct dwGlobalEgomotionDeserializer * dwGlobalEgomotionDeserializerHandle_t
Defines global egomotion state element.