Loading [MathJax]/jax/output/HTML-CSS/config.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 Sensor New

    Detailed Description

    Defines the IMU sensor.

    Data Structures

    struct  dwIMUFrameNew
     This structure contains one frame of data from a IMU sensor. More...
     
    struct  dwIMUFrameNew.validityInfo
     

    Enumerations

    enum  dwIMUImuAccelerationQuality {
      DW_IMU_IMU_ACCELERATION_QUALITY_INIT = 0 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_UNCALIB = 1 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_OK = 2 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_TMP_FAIL = 3 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_ACCELERATION_QUALITY_FORCE32 = 0x7FFFFFFF
    }
     
    enum  dwIMUImuStatus {
      DW_IMU_IMU_STATUS_INIT = 0 ,
      DW_IMU_IMU_STATUS_UNCALIB = 1 ,
      DW_IMU_IMU_STATUS_OK = 2 ,
      DW_IMU_IMU_STATUS_TMP_FAIL = 3 ,
      DW_IMU_IMU_STATUS_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_STATUS_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_STATUS_FORCE32 = 0x7FFFFFFF
    }
     
    enum  dwIMUImuTempQuality {
      DW_IMU_IMU_TEMP_QUALITY_INIT = 0 ,
      DW_IMU_IMU_TEMP_QUALITY_UNCALIB = 1 ,
      DW_IMU_IMU_TEMP_QUALITY_OK = 2 ,
      DW_IMU_IMU_TEMP_QUALITY_TMP_FAIL = 3 ,
      DW_IMU_IMU_TEMP_QUALITY_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_TEMP_QUALITY_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_TEMP_QUALITY_FORCE32 = 0x7FFFFFFF
    }
     
    enum  dwIMUImuTimestampQuality {
      DW_IMU_IMU_TIMESTAMP_QUALITY_INIT = 0 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_UNCALIB = 1 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_OK = 2 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_TMP_FAIL = 3 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_TIMESTAMP_QUALITY_FORCE32 = 0x7FFFFFFF
    }
     
    enum  dwIMUImuTurnrateAccelQuality {
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_INIT = 0 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_UNCALIB = 1 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_OK = 2 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_TMP_FAIL = 3 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_FORCE32 = 0x7FFFFFFF
    }
     
    enum  dwIMUImuTurnrateQuality {
      DW_IMU_IMU_TURNRATE_QUALITY_INIT = 0 ,
      DW_IMU_IMU_TURNRATE_QUALITY_UNCALIB = 1 ,
      DW_IMU_IMU_TURNRATE_QUALITY_OK = 2 ,
      DW_IMU_IMU_TURNRATE_QUALITY_TMP_FAIL = 3 ,
      DW_IMU_IMU_TURNRATE_QUALITY_PRMNT_FAIL = 4 ,
      DW_IMU_IMU_TURNRATE_QUALITY_SENS_NOT_INST = 5 ,
      DW_IMU_IMU_TURNRATE_QUALITY_FORCE32 = 0x7FFFFFFF
    }
     

    Data Structure Documentation

    ◆ dwIMUFrameNew

    struct dwIMUFrameNew
    Data Fields
    float64_t acceleration[3]
    Note
    ID VS-90050
    description Acceleration in X, Y, and Z directions. Linear acceleration measured by the IMU sensor, it does include the gravity component as the sensor measures the reaction due to gravity. This is sometimes referred to as “proper acceleration”. This is an IMU sensor signal, as such it reflects all the motions of the sensor itself, including suspension flexing, gravity, vehicle turning, rolling and pitching. Coordinate system is that of the sensor itself, refer to manufacturer datasheet..
    min nan max nan
    freq 100 unit m/s2
    float64_t accelerationOffset[3]
    Note
    ID VS-90100
    description IMU acceleration offset values.
    min nan max nan
    freq 100 unit m/s2
    float64_t heading
    Note
    ID VS-90070
    description Heading of the IMU measured in respect to the ENU system, i.e., compass. This is a signal that can be provided by certain IMU+GNSS sensor solutions as part of the state estimation. It is not used by egomotion. Heading is defined with respect to ENU coordinate system, whereas yaw is in an arbitrary local coordinate system..
    min nan max nan
    freq 100 unit deg
    dwIMUImuAccelerationQuality imuAccelerationQuality[3]
    Note
    ID VS-90150
    description Vehicle IMU acceleration values status.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_ACCELERATION_QUALITY_INIT, DW_IMU_IMU_ACCELERATION_QUALITY_UNCALIB, DW_IMU_IMU_ACCELERATION_QUALITY_OK, DW_IMU_IMU_ACCELERATION_QUALITY_TMP_FAIL, DW_IMU_IMU_ACCELERATION_QUALITY_PRMNT_FAIL, DW_IMU_IMU_ACCELERATION_QUALITY_SENS_NOT_INST }
    dwIMUImuStatus imuStatus
    Note
    ID VS-90200
    description Vehicle IMU overall status.
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_STATUS_INIT, DW_IMU_IMU_STATUS_UNCALIB, DW_IMU_IMU_STATUS_OK, DW_IMU_IMU_STATUS_TMP_FAIL, DW_IMU_IMU_STATUS_PRMNT_FAIL, DW_IMU_IMU_STATUS_SENS_NOT_INST }
    dwIMUImuTempQuality imuTempQuality
    Note
    ID VS-90140
    description Vehicle IMU temperature status.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_TEMP_QUALITY_INIT, DW_IMU_IMU_TEMP_QUALITY_UNCALIB, DW_IMU_IMU_TEMP_QUALITY_OK, DW_IMU_IMU_TEMP_QUALITY_TMP_FAIL, DW_IMU_IMU_TEMP_QUALITY_PRMNT_FAIL, DW_IMU_IMU_TEMP_QUALITY_SENS_NOT_INST }
    dwIMUImuTimestampQuality imuTimestampQuality
    Note
    ID VS-90190
    description Vehicle IMU timestamp quality.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_TIMESTAMP_QUALITY_INIT, DW_IMU_IMU_TIMESTAMP_QUALITY_UNCALIB, DW_IMU_IMU_TIMESTAMP_QUALITY_OK, DW_IMU_IMU_TIMESTAMP_QUALITY_TMP_FAIL, DW_IMU_IMU_TIMESTAMP_QUALITY_PRMNT_FAIL, DW_IMU_IMU_TIMESTAMP_QUALITY_SENS_NOT_INST }
    dwIMUImuTurnrateAccelQuality imuTurnrateAccelQuality[3]
    Note
    ID VS-90180
    description Vehicle IMU gyroscope acceleration values quality.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_INIT, DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_UNCALIB, DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_OK, DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_TMP_FAIL, DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_PRMNT_FAIL, DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_SENS_NOT_INST }
    uint8_t imuTurnrateOffsetQuality[3]
    Note
    ID VS-90170
    description Vehicle IMU gyroscope offset values quality on a scale of 0...62.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit unitless
    dwIMUImuTurnrateQuality imuTurnrateQuality[3]
    Note
    ID VS-90160
    description Vehicle IMU gyroscope values quality.
    TODO: Backend not yet implemented
    min nan max nan
    freq 100 unit -
    *** valid values**: { DW_IMU_IMU_TURNRATE_QUALITY_INIT, DW_IMU_IMU_TURNRATE_QUALITY_UNCALIB, DW_IMU_IMU_TURNRATE_QUALITY_OK, DW_IMU_IMU_TURNRATE_QUALITY_TMP_FAIL, DW_IMU_IMU_TURNRATE_QUALITY_PRMNT_FAIL, DW_IMU_IMU_TURNRATE_QUALITY_SENS_NOT_INST }
    float64_t magnetometer[3]
    Note
    ID VS-90060
    description Measurement of the magnetometer unit in X, Y, and Z directions.
    min nan max nan
    freq 100 unit utesla
    float64_t orientation[3]
    Note
    ID VS-90020
    description Roll, pitch, and yaw angle of the orientation returned by the IMU. This is a signal that can be provided by certain types of IMUs as part of their internal state estimation. It is not used by egomotion.
    min nan max nan
    freq 100 unit deg
    dwQuaterniond orientationQuaternion
    Note
    ID VS-90030
    description Quaternion representation (x, y, z, w) of the orientation returned by the IMU. This is a signal that can be provided by certain types of IMUs as part of their internal state estimation. It is not used by egomotion..
    min nan max nan
    freq 100 unit unitless
    uint8_t reserved[512]
    float32_t temperature
    Note
    ID VS-90090
    description IMU temperature.
    min nan max nan
    freq 100 unit C
    dwTime_t timestamp_us
    Note
    ID VS-90010
    description Timestamp for the current message. Indicates when it's first received.
    min nan max nan
    freq 100 unit us
    float64_t turnrate[3]
    Note
    ID VS-90040
    description Roll, pitch, and yaw turn rate (i.e., gyroscope). Angular velocities measured by the IMU sensor, they are given in the coordinate system of the sensor..
    min nan max nan
    freq 100 unit rad/s
    float64_t turnrateAccel[3]
    Note
    ID VS-90120
    description IMU gyroscope acceleration values.
    min nan max nan
    freq 100 unit rad/sec2
    float64_t turnrateOffset[3]
    Note
    ID VS-90110
    description IMU gyroscope offset values.
    min nan max nan
    freq 100 unit rad/s
    struct dwIMUFrameNew.validityInfo validityInfo

    ◆ dwIMUFrameNew.validityInfo

    struct dwIMUFrameNew.validityInfo
    Data Fields
    dwSignalValidity acceleration[3]
    dwSignalValidity accelerationOffset[3]
    dwSignalValidity heading
    dwSignalValidity imuAccelerationQuality[3]
    dwSignalValidity imuStatus
    dwSignalValidity imuTempQuality
    dwSignalValidity imuTimestampQuality
    dwSignalValidity imuTurnrateAccelQuality[3]
    dwSignalValidity imuTurnrateOffsetQuality[3]
    dwSignalValidity imuTurnrateQuality[3]
    dwSignalValidity magnetometer[3]
    dwSignalValidity orientation[3]
    dwSignalValidity orientationQuaternion
    dwSignalValidity reserved[64]
    dwSignalValidity temperature
    dwSignalValidity timestamp_us
    dwSignalValidity turnrate[3]
    dwSignalValidity turnrateAccel[3]
    dwSignalValidity turnrateOffset[3]

    Enumeration Type Documentation

    ◆ dwIMUImuAccelerationQuality

    Enumerator
    DW_IMU_IMU_ACCELERATION_QUALITY_INIT 

    Signal initializing.

    DW_IMU_IMU_ACCELERATION_QUALITY_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_ACCELERATION_QUALITY_OK 

    Signal in specification.

    DW_IMU_IMU_ACCELERATION_QUALITY_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_ACCELERATION_QUALITY_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_ACCELERATION_QUALITY_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_ACCELERATION_QUALITY_FORCE32 

    Definition at line 72 of file IMUNew.h.

    ◆ dwIMUImuStatus

    Enumerator
    DW_IMU_IMU_STATUS_INIT 

    Signal initializing.

    DW_IMU_IMU_STATUS_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_STATUS_OK 

    Signal in specification.

    DW_IMU_IMU_STATUS_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_STATUS_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_STATUS_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_STATUS_FORCE32 

    Definition at line 136 of file IMUNew.h.

    ◆ dwIMUImuTempQuality

    Enumerator
    DW_IMU_IMU_TEMP_QUALITY_INIT 

    Signal initializing.

    DW_IMU_IMU_TEMP_QUALITY_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_TEMP_QUALITY_OK 

    Signal in specification.

    DW_IMU_IMU_TEMP_QUALITY_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_TEMP_QUALITY_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_TEMP_QUALITY_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_TEMP_QUALITY_FORCE32 

    Definition at line 56 of file IMUNew.h.

    ◆ dwIMUImuTimestampQuality

    Enumerator
    DW_IMU_IMU_TIMESTAMP_QUALITY_INIT 

    Signal initializing.

    DW_IMU_IMU_TIMESTAMP_QUALITY_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_TIMESTAMP_QUALITY_OK 

    Signal in specification.

    DW_IMU_IMU_TIMESTAMP_QUALITY_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_TIMESTAMP_QUALITY_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_TIMESTAMP_QUALITY_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_TIMESTAMP_QUALITY_FORCE32 

    Definition at line 120 of file IMUNew.h.

    ◆ dwIMUImuTurnrateAccelQuality

    Enumerator
    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_INIT 

    Signal initializing.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_OK 

    Signal in specification.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_TURNRATE_ACCEL_QUALITY_FORCE32 

    Definition at line 104 of file IMUNew.h.

    ◆ dwIMUImuTurnrateQuality

    Enumerator
    DW_IMU_IMU_TURNRATE_QUALITY_INIT 

    Signal initializing.

    DW_IMU_IMU_TURNRATE_QUALITY_UNCALIB 

    Sensor uncalibrated.

    DW_IMU_IMU_TURNRATE_QUALITY_OK 

    Signal in specification.

    DW_IMU_IMU_TURNRATE_QUALITY_TMP_FAIL 

    Signal temporary failure.

    DW_IMU_IMU_TURNRATE_QUALITY_PRMNT_FAIL 

    Signal permanent failure.

    DW_IMU_IMU_TURNRATE_QUALITY_SENS_NOT_INST 

    Sensor not installed.

    DW_IMU_IMU_TURNRATE_QUALITY_FORCE32 

    Definition at line 88 of file IMUNew.h.

    人人超碰97caoporen国产