NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
IMUPlugin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
20 #ifndef DW_SENSORS_IMU_PLUGIN_H
21 #define DW_SENSORS_IMU_PLUGIN_H
22 
23 #include <dw/sensors/legacy/plugins/SensorCommonPlugin.h>
24 #include <dw/sensors/imu/IMU.h>
25 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
50 DW_DEPRECATED("dwSensorIMUPlugin_parseDataBuffer is deprecated and will be removed in next major release. Please use dwSensorIMUPlugin_parseDataBufferNew instead")
52 
67 
69 typedef struct
70 {
72 #pragma GCC diagnostic push
73 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
75 #pragma GCC diagnostic pop
78 
93 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif
dwSensorIMUPlugin_parseDataBufferNew
dwStatus(* dwSensorIMUPlugin_parseDataBufferNew)(dwIMUFrame *frame, size_t *consumed, dwSensorPlugin_timeDomain *outDomain, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Definition: IMUPlugin.h:66
sensor
DW_API_PUBLIC const dwSensorHandle_t sensor
Definition: Camera.h:714
dwSensorIMUPluginFunctionTable::parseDataBufferNew
dwSensorIMUPlugin_parseDataBufferNew parseDataBufferNew
Definition: IMUPlugin.h:76
dwSensorIMUPluginFunctionTable::parseDataBuffer
dwSensorIMUPlugin_parseDataBuffer parseDataBuffer
Definition: IMUPlugin.h:74
dwSensorIMUPlugin_getFunctionTable
dwStatus dwSensorIMUPlugin_getFunctionTable(dwSensorIMUPluginFunctionTable *functions)
Gets the handle to functions defined in 'dwSensorIMUPluginFunctionTable' structure.
dwSensorPluginSensorHandle_t
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
Definition: SensorPlugin.h:33
dwIMUFrame
This structure contains one frame of data from a IMU sensor.
Definition: IMUTypes.h:396
DW_DEPRECATED
#define DW_DEPRECATED(msg)
Definition: Exports.h:50
dwSensorIMUPluginFunctionTable::common
dwSensorCommonPluginFunctions common
Definition: IMUPlugin.h:71
dwSensorCommonPluginFunctions
Function Table exposing common plugin functions.
Definition: SensorCommonPlugin.h:244
dwSensorIMUPlugin_parseDataBuffer
dwStatus(* dwSensorIMUPlugin_parseDataBuffer)(dwIMUFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Definition: IMUPlugin.h:51
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
dwSensorPlugin_timeDomain
dwSensorPlugin_timeDomain
Definition: SensorCommonPlugin.h:65
dwSensorIMUPluginFunctionTable
Function Table exposing IMU plugin functions.
Definition: IMUPlugin.h:69