NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access 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 
24 #include <dw/sensors/imu/IMU.h>
25 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
50 // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
51 DW_DEPRECATED("dwSensorIMUPlugin_parseDataBuffer is deprecated and will be removed in next major release. Please use dwSensorIMUPlugin_parseDataBufferNew instead")
53 
68 
70 typedef struct
71 {
73 #pragma GCC diagnostic push
74 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
76 #pragma GCC diagnostic pop
79 
94 
97 #ifdef __cplusplus
98 }
99 #endif
100 
101 #endif
dwSensorPluginSensorHandle_t
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
Definition: SensorPlugin.h:42
sensor
const dwSensorHandle_t sensor
Definition: Camera.h:848
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:67
dwSensorIMUPluginFunctionTable::parseDataBufferNew
dwSensorIMUPlugin_parseDataBufferNew parseDataBufferNew
Definition: IMUPlugin.h:77
dwSensorIMUPluginFunctionTable::parseDataBuffer
dwSensorIMUPlugin_parseDataBuffer parseDataBuffer
Definition: IMUPlugin.h:75
dwSensorIMUPlugin_getFunctionTable
dwStatus dwSensorIMUPlugin_getFunctionTable(dwSensorIMUPluginFunctionTable *functions)
Gets the handle to functions defined in 'dwSensorIMUPluginFunctionTable' structure.
dwIMUFrame
This structure contains one frame of data from a IMU sensor.
Definition: IMUTypes.h:346
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
DW_DEPRECATED
#define DW_DEPRECATED(msg)
Definition: core/base/Exports.h:80
dwSensorIMUPluginFunctionTable::common
dwSensorCommonPluginFunctions common
Definition: IMUPlugin.h:72
dwSensorCommonPluginFunctions
Function Table exposing common plugin functions.
Definition: SensorCommonPlugin.h:245
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:52
dwSensorPlugin_timeDomain
dwSensorPlugin_timeDomain
Definition: SensorCommonPlugin.h:65
IMU.h
SensorCommonPlugin.h
dwSensorIMUPluginFunctionTable
Function Table exposing IMU plugin functions.
Definition: IMUPlugin.h:70