NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
IMU.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2016-2026 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 
29 #ifndef DW_SENSORS_IMU_IMU_H_
30 #define DW_SENSORS_IMU_IMU_H_
31 
33 
34 #include <dw/core/base/Config.h>
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
82 dwStatus dwSensorIMU_readFrame(dwIMUFrame* const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor);
83 
129 dwStatus dwSensorIMU_processRawData(uint8_t const* const data, size_t const size, dwSensorHandle_t const sensor);
130 
159 
162 #ifdef __cplusplus
163 }
164 #endif
165 
166 #endif // DW_SENSORS_IMU_IMU_H_
dwSensorHandle_t
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
Definition: SensorTypes.h:44
dwSensorIMU_processRawData
DW_API_PUBLIC dwStatus dwSensorIMU_processRawData(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
Decodes IMU frames from received IMU sensor raw data/packets.
sensor
const dwSensorHandle_t sensor
Definition: Camera.h:848
IMUTypes.h
dwTime_t
int64_t dwTime_t
Definition: core/base/BasicTypes.h:65
dwSensorIMU_popFrame
DW_API_PUBLIC dwStatus dwSensorIMU_popFrame(dwIMUFrame *const frame, dwSensorHandle_t const sensor)
Returns the earliest IMU frame previously processed from previous IMU sensor packets.
dwIMUFrame
This structure contains one frame of data from a IMU sensor.
Definition: IMUTypes.h:346
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
Config.h
dwSensorIMU_readFrame
DW_API_PUBLIC dwStatus dwSensorIMU_readFrame(dwIMUFrame *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
Reads the next IMU frame from the sensor within a given timeout.
SensorTypes.h
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57