Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    IMU.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) 2016-2024 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
    47#ifndef DW_SENSORS_IMU_IMU_H_
    48#define DW_SENSORS_IMU_IMU_H_
    49
    50#include "IMUTypes.h"
    51
    52#include <dw/core/base/Config.h>
    54
    55#ifdef __cplusplus
    56extern "C" {
    57#endif
    58
    94dwStatus dwSensorIMU_readFrame(dwIMUFrame* const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor);
    95
    139dwStatus dwSensorIMU_processRawData(uint8_t const* const data, size_t const size, dwSensorHandle_t const sensor);
    140
    166
    187#pragma GCC diagnostic push
    188#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    190dwStatus dwSensorIMU_readFrameNew(dwIMUFrameNew* const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
    191 DW_DEPRECATED("dwSensorIMU_readFrameNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_readFrame() instead");
    192#pragma GCC diagnostic pop
    193
    213dwStatus dwSensorIMU_processRawDataNew(uint8_t const* const data, size_t const size, dwSensorHandle_t const sensor)
    214 DW_DEPRECATED("dwSensorIMU_processRawDataNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_processRawData() instead");
    215
    232#pragma GCC diagnostic push
    233#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    236 DW_DEPRECATED("dwSensorIMU_popFrameNew() is deprecated and will be removed in next major release. Please use dwSensorIMU_popFrame() instead");
    237#pragma GCC diagnostic pop
    238
    239#ifdef __cplusplus
    240}
    241#endif
    243#endif // DW_SENSORS_IMU_IMU_H_
    dwStatus
    Status definition.
    Definition: ErrorDefs.h:44
    This structure contains one frame of data from a IMU sensor.
    Definition: IMUTypes.h:369
    This structure contains one frame of data from a IMU sensor.
    Definition: IMUTypes.h:599
    NVIDIA DriveWorks API: Sensors
    int64_t dwTime_t
    Specifies a timestamp unit, in microseconds.
    Definition: BasicTypes.h:65
    #define DW_DEPRECATED(msg)
    Definition: Exports.h:68
    #define DW_API_PUBLIC
    Definition: Exports.h:56
    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.
    DW_API_PUBLIC dwStatus dwSensorIMU_processRawDataNew(uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
    Reads the IMU frame New from raw data.
    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.
    DW_API_PUBLIC dwStatus dwSensorIMU_popFrameNew(dwIMUFrameNew *const frame, dwSensorHandle_t const sensor)
    Returns any IMU Frame New previously processed through the raw data stream.
    DW_API_PUBLIC dwStatus dwSensorIMU_readFrameNew(dwIMUFrameNew *const frame, dwTime_t const timeoutUs, dwSensorHandle_t const sensor)
    Reads the next IMU frame New from the sensor within a given timeout.
    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.
    struct dwSensorObject * dwSensorHandle_t
    Handle representing a sensor.
    Definition: SensorTypes.h:75
    人人超碰97caoporen国产