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

  • DriveWorks SDK Reference
    5.6.215 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    IMU.h File Reference

    Detailed Description

    NVIDIA DriveWorks API: IMU

    Description: This file defines methods to access the IMU sensor.

    Definition in file IMU.h.

    Go to the source code of this file.

    Data Structures

    struct  dwIMUFrame
     An IMU frame containing sensor readings from the IMU sensor. More...
     

    Enumerations

    enum  dwIMUFlags {
      DW_IMU_HEADING = 1U << 1 ,
      DW_IMU_ROLL = 1U << 2 ,
      DW_IMU_PITCH = 1U << 3 ,
      DW_IMU_YAW = 1U << 4 ,
      DW_IMU_QUATERNION_X = 1U << 5 ,
      DW_IMU_QUATERNION_Y = 1U << 6 ,
      DW_IMU_QUATERNION_Z = 1U << 7 ,
      DW_IMU_QUATERNION_W = 1U << 8 ,
      DW_IMU_ROLL_RATE = 1U << 9 ,
      DW_IMU_PITCH_RATE = 1U << 10 ,
      DW_IMU_YAW_RATE = 1U << 11 ,
      DW_IMU_ACCELERATION_X = 1U << 12 ,
      DW_IMU_ACCELERATION_Y = 1U << 13 ,
      DW_IMU_ACCELERATION_Z = 1U << 14 ,
      DW_IMU_MAGNETOMETER_X = 1U << 15 ,
      DW_IMU_MAGNETOMETER_Y = 1U << 16 ,
      DW_IMU_MAGNETOMETER_Z = 1U << 17
    }
     Each flag shows if that value is valid in this IMU frame. More...
     
    enum  dwIMUHeadingType {
      DW_IMU_HEADING_TRUE = 0 ,
      DW_IMU_HEADING_MAGNETIC = 1
    }
     Types of the heading degree. More...
     

    Functions

    DW_API_PUBLIC dwStatus dwSensorIMU_popFrame (dwIMUFrame *const frame, dwSensorHandle_t const sensor)
     Returns any IMU data previously processed through the raw data stream. More...
     
    DW_API_PUBLIC dwStatus dwSensorIMU_processRawData (uint8_t const *const data, size_t const size, dwSensorHandle_t const sensor)
     Reads the IMU frame from raw data. More...
     
    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. More...
     
    人人超碰97caoporen国产