Loading [MathJax]/extensions/MathMenu.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
    VehicleIOLegacyStructures.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) 2021-2022 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
    46#ifndef DW_VEHICLEIO_LEGACY_STRUCTURES_H_
    47#define DW_VEHICLEIO_LEGACY_STRUCTURES_H_
    48
    49#include <dw/core/base/Types.h>
    50#include <dw/rig/Rig.h>
    51
    52#include <stdint.h>
    53
    54#ifdef __cplusplus
    55extern "C" {
    56#endif
    57
    58typedef struct dwVehicleIOObject* dwVehicleIOHandle_t;
    59
    65
    69
    73
    76
    80
    81typedef enum dwVehicleIOType {
    87
    88typedef enum dwVehicleIOFaults {
    95 DW_VEHICLEIO_FAULT_MAX = UINT32_MAX
    97
    104 DW_VEHICLEIO_OVERRIDE_MAX = UINT32_MAX
    106
    107//# sergen(generate)
    108typedef enum dwVehicleIOGear {
    110
    111 // Automatic vehicles
    117
    118 // Stick shift vehicles
    130
    138
    139typedef enum {
    144
    150
    151typedef enum dwVehicleIOMirror {
    158
    164 DW_VEHICLEIO_HEADLIGHTS_DRL = 4 //DAYTIME RUNNING LIGHTS
    166
    167// AEB - Automatic Emergency Braking System Status to report externally
    169 DW_VEHICLEIO_AEB_STATE_UNKNOWN = 0, // System is in an unknown state
    170 DW_VEHICLEIO_AEB_STATE_OFF = 1, // System is off
    171 DW_VEHICLEIO_AEB_STATE_READY = 2 // System is operational and ready to fire if necessary
    173
    174// FCW - Forward Collision Warning Status to report externally
    176 DW_VEHICLEIO_FCW_STATE_UNKNOWN = 0, // System is in an unknown state
    177 DW_VEHICLEIO_FCW_STATE_OFF = 1, // System is off
    178 DW_VEHICLEIO_FCW_STATE_READY = 2 // System is operational and ready to fire if necessary
    180
    181// CDW - Close Distance Warning Status to report externally
    183 DW_VEHICLEIO_CDW_REQUEST_NONE = 0, // no activation
    184 DW_VEHICLEIO_CDW_REQUEST_LEVEL_1 = 1, // level 1 warning (short distance)
    185 DW_VEHICLEIO_CDW_REQUEST_LEVEL_2 = 2 // level 2 warning (extremely short distance)
    187
    188// BSM - Blind Spot Monitoring Request
    190 DW_VEHICLEIO_BSM_REQUEST_UNKNOWN = 0, // Unknown request from Blind Spot Monitor
    191 DW_VEHICLEIO_BSM_REQUEST_NONE = 1, // No request from Blind Spot Monitor
    192 DW_VEHICLEIO_BSM_REQUEST_CONTINUOUS = 2, // Continuous response request from Blind Spot Monitor
    193 DW_VEHICLEIO_BSM_REQUEST_FLASHING = 3 // Flashing response request from Blind Spot Monitor
    195
    206
    208 DW_VEHICLEIO_LATERAL_ACTUATOR_UNKNOWN = 0, // lateral control actuator interface is unknown
    209 DW_VEHICLEIO_LATERAL_STEERING_WHEEL_ANGLE = 1, // uses steering wheel angle for lateral control
    210 DW_VEHICLEIO_LATERAL_FRONT_WHEEL_ANGLE = 2, // use front wheel angle for lateral control
    211 DW_VEHICLEIO_LATERAL_CURVATURE = 3, // use curvature for lateral control
    213
    214// Lateral ADAS mode
    215// Note: all modes may not be supported depending on vehicle
    216typedef enum dwVehicleIOLatMode {
    226
    227// Longitudinal ADAS mode
    228// Note: all modes may not be supported depending on vehicle
    229typedef enum dwVehicleIOLonMode {
    233 DW_VEHICLEIO_LON_MODE_CA = 3, // Collision avoidance
    237
    238// Trailer connected status
    245
    246// Generic struct representing signal quality
    251
    260
    273
    286
    309
    332
    343
    347typedef struct dwStateValueFloat
    348{
    351 bool valid;
    353
    362
    370
    378
    380{
    392
    396typedef struct dwVehicleIOCommand
    397{
    398 bool enable;
    399
    400 // Steering command
    403
    409
    411
    413
    414 // Throttle command - command to the accelerator pedal deflection as a value from 0 to 1
    416
    417 // Brake command - command to the brake pedal deflection as a value from 0 to 1
    419
    420 // Deceleration command - target deceleration rate for the vehicle. NOTE: Depending on IO driver,
    421 // there are potentially multiple ways to command the vehicle - directly with actuator commands
    422 // or with targets (deceleration for example) to downstream systems (brake controller).
    424
    425 // Acceleration command
    428
    429 // Other commands
    432
    433 // Clear CAN bus errors
    435
    436 // Booleans validating commands
    453
    454 // AEB signals
    460
    461 // FCW signals
    464
    465 // CDW signals
    467
    469
    470 // High accuracy maneuver
    473
    476
    477 // Motion manager feedback
    479
    480 // Collaborative Steering
    482
    485
    491
    498
    501
    509
    512
    514{
    515
    516 //basic body controls
    525 //specifically for mirrors
    528 //specifically for center console display brightness
    530
    531 bool enable;
    540
    542
    544
    548
    550
    553
    558{
    563
    567
    573
    575{
    582
    584{
    590
    597
    606
    613
    624
    625#define DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP 10
    626
    630typedef struct dwVehicleIOState
    631{
    635
    638
    643
    649
    654
    661
    666
    672
    674
    675 // Vehicle Miscellanoeus data
    696 bool wiper;
    702
    707
    708 uint32_t overrides;
    709 uint32_t faults;
    710
    714
    716
    720
    723
    725
    727
    730
    733
    735
    738
    741
    745
    752
    760
    764
    765#define DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES 50
    766#define DW_VEHICLEIO_LOW_SPEED_THRESHOLD 4
    767
    774{
    784
    800
    801#ifdef __cplusplus
    802}
    803#endif
    805#endif // DW_VEHICLEIO_LEGACY_STRUCTURES_H_
    NVIDIA DriveWorks API: Rig Configuration
    NVIDIA DriveWorks API: Core Types
    uint8_t latCtrlLaneChangePushingLaterally
    This bit is set if lateral movement has started.
    bool latModeValid
    True if setting lateral function.
    float32_t throttleValueLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    dwVehicleIOTirePressureMonitoringState tirePressureMonitoringState
    Tire Pressure Monitoring System Status.
    float32_t brakeTorqueDriver
    Brake torque requested by driver via physical pedal (Nm)
    bool throttleEnabled
    Throttle by-wire enablement reported by vehicle.
    float32_t lonAccelerationValue
    longitudinal acceleration (m/s^2)
    dwVehicleIODrivingMode drivingMode
    float32_t maxSpeed
    Maximum allowed speed to support remaining distance request (m/s)
    dwVehicleIOAbsIntervention absIntervention
    ABS/ESP Status.
    dwVehicleIOMirror mirrors
    FOLD, UNFOLD, ADJUST_LEFT, ADJUST_RIGHT.
    int32_t steeringWheelAngleLUTSize
    Size of the corresponding lookup table.
    dwStateValueFloat emOrientation[3]
    Vehicle orientation (integrated, as Euler angles, since t0).
    uint32_t overrides
    Overrides in place (0 = none). Flags defined in dwVehicleIOOverrides.
    bool steeringWheelValid
    True if setting steering wheel steering.
    float32_t mirrorAdjustX
    float value 0-5.0 seconds
    dwVehicleIOTurnSignal turnSignal
    Turn signal value.
    float32_t latCtrlCrossTrackError
    Used for driver intervention (Lateral path tracking control error)
    int32_t throttleValueLUTSize
    Size of the corresponding lookup table.
    bool steeringWheelTorqueValid
    True if setting steering torque.
    bool turnSigValid
    True if setting turn signal.
    float32_t latCtrlCurvReqPred
    The target curvature without feedback compensation. Can be used to represent the target curvature als...
    bool turnSigValid
    True if setting turn signal.
    float32_t rearAxleCurvatureValue
    Path curvature request based on travelled distance (1/m)
    float32_t curvatureLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    float32_t frontSteeringSpeedLowSpeedLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed/10.0 (m/s), i.e. LUT[i] is the capability value at speed = 10....
    int16_t wheelPosition[DW_VEHICLE_NUM_WHEELS]
    Vehicle Wheel Position counters.
    dwVehicleIOVehicleStopped vehicleStopped
    Vehicle in Standstill as detected by ESC.
    dwStateValueFloat rearWheelAngleMax
    The maximum rear wheel angle command that can be guaranteed.
    float32_t latAccelerationValue
    lateral acceleration (m/s^2)
    dwTime_t throttleTimestamp
    Time at which throttle was updated.
    dwVehicleIOGear gear
    Desired gear: 0=UNKNOWN, 1=PARK, 2=REVERSE, 3=NEUTRAL, 4=DRIVE.
    dwStateValueFloat mass
    Total mass of trailer unit [kg].
    float32_t frontSteeringAngleLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    float32_t wheelSpeed[DW_VEHICLE_NUM_WHEELS]
    vehicle individual wheel speeds (rad/s)
    dwStateValueFloat frontLoad
    Load on front axle [kg].
    float32_t reverseSpeedLimit
    Normally a negative value (m/s)
    dwVehicleIOBSMRequest bsmAudioRequest
    Request corresponding to the audio warning.
    float32_t maxFrontSteeringSpeed
    Maximum front wheel speed of the turning command (rad/s)
    dwTime_t rearAxleCurvatureTimestamp
    Timestamp for all motion signals.
    dwTime_t timestamp_us
    Timestamp when dwVehicleIOMiscCommand was assembled.
    float32_t steeringWheelTorque
    Additional steering wheel torque request (Nm).
    float32_t brakeTorqueActual
    Actual applied brake torque value (Nm)
    dwVehicleIOLatMode latMode
    bool remainingDistanceValid
    True if setting remaining distance.
    float32_t frontSteeringAngleCmd
    Last acknowledged front steering value from a command (-1.0 to 1.0 +- 0.01rad)
    dwVehicleIOGear gear
    Vehicle gear.
    float32_t throttleCmd
    Last acknowledged throttle value from a command (0..1 +- 0.01 fraction of max pedal depressed,...
    dwVehicleIOLonMode lonMode
    float32_t engineSpeed
    engine rpm speed [RPM]
    dwTime_t timestamp_us
    Timestamp when dwVehicleIOCommand was assembled.
    int32_t steeringSpeedLUTSize
    Size of the corresponding lookup table.
    dwStateValueFloat pusherLoad
    Load on pusher axle [kg].
    float32_t throttleValue
    Current thottle value as requested by a driver (0..1 +- 0.01 fraction of max pedal depressed,...
    float32_t throttleState
    Throttle value in effect (0..1 +- 0.01 fraction of max pedal depressed, unitless)
    dwTime_t timestamp_us
    Timestamp when dwVehicleIOState was assembled.
    bool decelerationValid
    True if setting deceleration.
    float32_t speedMax
    Higher bound of vehicle velocity in the longitudinal direction as measured by ESP.
    dwTime_t suspensionTimestamp[DW_VEHICLE_NUM_WHEELS]
    Vehicle timestamps of Suspension data.
    dwVehicleIOEgoFeedback egomotionResult
    bool prefillRequest
    Request to activate prefill.
    dwStateValueFloat linearAcceleration[3]
    Linear acceleration measured in body frame in [m/s^2].
    float32_t brakeValue
    range 0.0 to 1.0
    float32_t steeringWheelAngleCmd
    Last acknowledged steering wheel value from a command (-10.0 to 10.0 +- 0.01rad)
    int32_t frontSteeringAngleLUTSize
    Size of the corresponding lookup table.
    dwStateValueFloat emLinearVelocityStdev[3]
    Vehicle linear velocity standard deviation aligned to body coordinate frame.
    dwVehicleIOFCWState fcwState
    FCW system status/state.
    dwVehicleIOTrailerState trailer
    float32_t frontSteeringSpeedLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    dwStateValueFloat frontWheelAngleMin
    The minimum front wheel angle command that can be guaranteed.
    dwVehicleIOSpeedDirectionESC speedDirectionESC
    ESC Longitudinal Speed Direction.
    float32_t maxAccelerationLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    float32_t steeringWheelTorque
    Steering wheel torque (0 to 10.0 +- 0.01 Nm)
    float32_t frontSteeringAngleLowSpeedLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed/10.0 (m/s), i.e. LUT[i] is the capability value at speed = 10....
    dwStateValueFloat outsideTemperature
    outside temperature [degrees C]
    dwVehicleIOCDWRequestType cdwRequest
    Request to activate CDW.
    bool brakePedalPressed
    True if the brake pedal has been pressed (note that the brake system can be active without a pedal pr...
    int32_t frontSteeringSpeedLowSpeedLUTSize
    Size of the corresponding lookup table.
    dwVehicleIODrivePositionTarget drivePositionTarget
    Drive Position that will be shifted to (PRND).
    dwVehicleIOHeadlights headlights
    ON/OFF, LOW_BEAM, HIGH_BEAM, DRL.
    bool steeringEnabled
    Steering by-wire enablement reported by vehicle.
    bool latAccelerationValid
    True if setting lateral acceleration.
    bool lonModeValid
    True if setting longitudinal function.
    bool aebRequest
    Request to activate AEB.
    dwStateValueFloat driverLoad
    Load on driver axle [kg].
    bool throttleValid
    True if setting throttle.
    bool fcwRequest
    Request to activate FCW.
    bool gearValid
    True if setting gear.
    int32_t frontSteeringAngleLowSpeedLUTSize
    Size of the corresponding lookup table.
    bool enable
    True if we are driving by wire. Has to always be set.
    bool dbsRequest
    Dynamic brake support request.
    float32_t ldwSeverity
    LDW Warning severity.
    bool mirrorAdjustValid
    True if setting mirror adjustment.
    float32_t tirePressure[DW_VEHICLE_NUM_WHEELS]
    Vehicle tire pressure data.
    float32_t remainingDistance
    Desired longitudinal offset from current position (m)
    dwVector2f velocity
    Vehicle velocity (longitudinal, lateral) measured in m/s at the rear axle.
    dwVehicleIOTurnSignal turnSig
    Turn signal - misc also wants this.
    dwVehicleIOBSMRequest bsmLeftRequest
    Request corresponding to the left visual warning.
    float32_t brakeCmd
    Last acknowledged brake value from a command (0..1 +- 0.01 fraction of max pedal depressed,...
    float32_t rearAxleCurvature
    Path curvature [1/m].
    dwVehicleIOLatCtrlInterventionDirectionELK latCtrlInterventionDirectionELK
    direction of the steering intervention, opposite to side of departure.
    bool lonAccelerationValid
    True if setting longitudinal acceleration.
    uint32_t faults
    Faults detected (0 = none). Flags defined in dwVehicleIOFaults.
    dwVehicleIOLaneDepartureWarningSide ldwSide
    LDW Warning side of ego lane- left/right.
    dwVector2f radarVelocity
    Reported velocity from radar unit(s)
    float32_t rearSteeringAngle
    Desired rear wheel steering angle (rad)
    dwStateValueFloat frontWheelAngleMax
    The maximum front wheel angle command that can be guaranteed.
    dwVehicleIOLaneChangeFeedbackRequest lcfRequest
    Lane change info.
    int32_t brakeValueLUTSize
    Size of the corresponding lookup table.
    bool frontSteeringValid
    True if setting front wheel steering.
    dwVehicleIOLatCtrlInterventionDirectionLKA latCtrlInterventionDirectionLKA
    direction of the steering intervention, opposite to side of departure.
    float32_t brakeValue
    Current brake value as requested by a driver (0..1 +- 0.01 fraction of max pedal depressed,...
    bool brakeEnabled
    Brake by-wire enablement reported by vehicle.
    dwVector2f acceleration
    Actual acceleration measured in m/s^2.
    dwVehicleIOCapabilityState capability
    Rear wheel angle on road.
    dwStateValueFloat angularVelocity[3]
    Rotation speed in body frame measured in [rad/s].
    dwTime_t wheelPositionTimestamp[DW_VEHICLE_NUM_WHEELS]
    individual timestamps of wheel position readings
    dwStateValueFloat mass
    Total mass of vehicle [kg].
    int32_t curvatureLUTSize
    Size of the corresponding lookup table.
    int32_t maxAccelerationLUTSize
    Size of the corresponding lookup table.
    dwTime_t engineSpeedTimestamp
    engine speed timestamp[us]
    dwStateValueFloat lonAccelerationMax
    The maximum longutidinal acceleration command that can be guaranteed.
    float32_t rearAxleCurvatureMax
    The tightest radius (left) that can be guaranteed.
    float32_t latCtrlCurvCapMax[DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP]
    Maximum curvature capability the vehicle is capable of at various velocities in L2/L3 mode....
    bool rearSteeringValid
    True if setting rear wheel steering.
    dwVehicleIOMoonroof moonroof
    basic open or close
    dwStateValueFloat rearWheelAngle
    dwVehicleIOESCOperationalState ESCOperationalState
    ESC Operational State.
    dwVehicleIOBSMRequest bsmRightRequest
    Request corresponding to the right visual warning.
    bool doorLockValid
    True if setting door locks.
    float32_t steeringWheelAngleLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    dwStateValueFloat trailerLoad
    Sum of load on all trailer axles [kg].
    dwVehicleIOHoldStatus holdStatus
    Parking brake / hold state report.
    bool headlightsValid
    True if setting headlights.
    dwTime_t wheelSpeedTimestamp[DW_VEHICLE_NUM_WHEELS]
    vehicle individual timestamps of wheel speeds readings
    int32_t minAccelerationLUTSize
    Size of the corresponding lookup table.
    float32_t speed
    Signed norm of velocity vector.
    float32_t brakeTorqueRequested
    Requested value of brake torque (Nm)
    bool moonroofValid
    True if setting moonroof movement.
    float32_t rearAxleCurvatureMin
    The tightest radius (right) that can be guaranteed.
    dwStateValueFloat emAngularAccel[3]
    Vehicle angular velocity aligned to body coordinate frame.
    float32_t minAccelerationLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    float32_t brakeValueLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    float32_t brakeState
    Brake value in effect (0..1 +- 0.01 fraction of max pedal depressed, unitless)
    float32_t decelerationValue
    decleration m/s^2 - represented as a positive number
    dwVehicleIOAxleStatus axles
    float32_t latCtrlCurvCapMin[DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP]
    Minumum (asymetric) curvature capability the vehicle is capable of at various velocities in L2/L3 mod...
    float32_t maxSteeringWheelSpeed
    Maximum steering wheel speed of the turning command rad/s.
    float32_t steeringWheelAngle
    Desired steering wheel angle (rad)
    dwVehicleIODoorLock doorLock
    basic lock or unlock
    float32_t suspension[DW_VEHICLE_NUM_WHEELS]
    Vehicle Suspension data, levels relative to a calibration instant [m].
    dwStateValueFloat linearVelocity[3]
    Linear velocity in body frame measured in [m/s] at the origin.
    bool clearFaults
    Setting > 0 clears any canbus faults/errors.
    dwTime_t accelerationTimestamp
    Time at which acceleration was updated.
    bool rearAxleCurvatureValid
    True if setting rear axle curvature.
    dwStateValueFloat emOrientationStdev[3]
    Vehicle orientation standard deviation (for each Euler angle).
    bool mirrorFoldValid
    True if setting mirror un/fold.
    dwVehicleIOLatCtrlLoopStatus latCtrlLoopStatus
    lateral control loop state
    dwVehicleIOTurnSignal turnSig
    Turn signal value.
    dwVehicleIOSignalQuality speedQuality
    Speed and velocity signal quality (legacy, protobuf backward compatible)
    float32_t speedMin
    Lower bound of vehicle velocity in the longitudinal direction as measured by ESP.
    dwVehicleIOAEBState aebState
    AEB system status/state.
    float32_t frontSteeringAngle
    Desired front wheel steering angle (rad)
    dwVehicleIOEmStandStill emStandStill
    Egomotion Stnadstill detected based on wheel ticks.
    dwVehicleIOGear gearCmd
    Last acknowledged gear from a command.
    bool longitudinalTOR
    True if an immediate takeover is needed.
    float32_t fuelLevel
    (0 to 1 +- 0.01 fraction of tank volume, unitless)
    bool displayBrightnessValid
    True if setting display brightness.
    dwVehicleIOTrailerConnectedStatus connected
    float32_t mirrorAdjustY
    float value 0-5.0 seconds
    dwTime_t brakeTimestamp
    Time at which brake was updated.
    float32_t accSetSpeed
    Current ACC Set Speed in m/s.
    dwVehicleIOLaneDepartureWarningState ldwState
    LDW Warning state- on/off.
    bool brakeActive
    True if braking system is actively applying brakes.
    float32_t inverseSteeringR
    Inverse turning radius of the vehicle on the road.
    float32_t steeringWheelAngle
    Steering wheel angle (-10.0 to 10.0 +- 0.01rad)
    int32_t frontSteeringSpeedLUTSize
    Size of the corresponding lookup table.
    dwStateValueFloat articulationAngle
    Yaw articulation angle between truck and trailer measured at rear axle [rad] Angle measured as descri...
    dwTime_t emTimestamp
    Timestamp of egomotion signals.
    float32_t longVelocityForwardMax
    A maximum positive longitudinal vehicle speed that the vehicle is designed for.
    bool brakeValid
    True if setting break.
    dwTime_t speedTimestamp
    Time at which speed was updated.
    bool holdRequest
    AEB Hold request (only valid if aebRequest or dbsRequest is true)
    float32_t steeringSpeedLUT[DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES]
    Lookup Table indexed by speed (m/s), i.e. LUT[i] is the capability value at speed = i m/s.
    dwVehicleIOFrontSteeringAngleQuality frontSteeringAngleQuality
    Current front axle angle status.
    float32_t frontSteeringAngle
    Same as inverseSteeringR described as an angle instead of radius [rad].
    float64_t emTranslation[3]
    Vehicle translation (integrated, since t0) in [m].
    float32_t throttleValue
    range 0.0 to 1.0
    dwTime_t steeringTimestamp
    Time at which steering was updated.
    float32_t longVelocityForwardMin
    A minimum positive longitudinal vehicle speed, when driving forward, to avoid burning the clutch.
    uint64_t heartbeatCounter
    VIO command heartbeat.
    dwVehicleIOIgnitionStatus ignitionStatus
    Status of vehicle ignition.
    bool maxSpeedValid
    True if setting speed request.
    bool latCtrlReadyForCollaborativeSteering
    Behavior Planner ready for control.
    dwVehicleIOTrailerConnectedStatus
    dwVehicleIOLateralActuatorInterface
    dwVehicleIOTirePressureMonitoringState
    #define DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP
    #define DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES
    dwVehicleIOLatCtrlLoopStatus
    dwVehicleIOESCOperationalState
    dwVehicleIOLatCtrlInterventionDirectionLKA
    dwVehicleIOAbsIntervention
    dwVehicleIOLaneDepartureWarningState
    Driveworks Lane Departure Warning (LDW) activation states.
    struct dwVehicleIOObject * dwVehicleIOHandle_t
    dwVehicleIOFrontSteeringAngleQuality
    dwVehicleIOLaneChangeFeedbackRequest
    dwVehicleIOSpeedDirectionESC
    dwVehicleIOLaneDepartureWarningSide
    Driveworks LDW sides with respect to the ego lane.
    dwVehicleIOLatCtrlInterventionDirectionELK
    dwVehicleIODrivePositionTarget
    @ DW_VEHICLEIO_TRAILER_CONNECTED_ERROR
    @ DW_VEHICLEIO_TRAILER_CONNECTED_NO
    @ DW_VEHICLEIO_TRAILER_CONNECTED_YES
    @ DW_VEHICLEIO_TRAILER_CONNECTED_UNKNOWN
    @ DW_VEHICLEIO_FAULT_MAX
    @ DW_VEHICLEIO_FAULT_NONE
    @ DW_VEHICLEIO_FAULT_THROTTLE
    @ DW_VEHICLEIO_FAULT_STEERING
    @ DW_VEHICLEIO_FAULT_GEAR
    @ DW_VEHICLEIO_FAULT_SAFETY
    @ DW_VEHICLEIO_FAULT_BRAKE
    @ DW_VEHICLEIO_DOOR_UNKNOWN
    @ DW_VEHICLEIO_DOOR_LOCK
    @ DW_VEHICLEIO_DOOR_UNLOCK
    @ DW_VEHICLEIO_FCW_STATE_OFF
    @ DW_VEHICLEIO_FCW_STATE_UNKNOWN
    @ DW_VEHICLEIO_FCW_STATE_READY
    @ DW_VEHICLEIO_LATERAL_CURVATURE
    @ DW_VEHICLEIO_LATERAL_STEERING_WHEEL_ANGLE
    @ DW_VEHICLEIO_LATERAL_ACTUATOR_UNKNOWN
    @ DW_VEHICLEIO_LATERAL_FRONT_WHEEL_ANGLE
    @ DW_VEHICLEIO_CDW_REQUEST_LEVEL_2
    @ DW_VEHICLEIO_CDW_REQUEST_NONE
    @ DW_VEHICLEIO_CDW_REQUEST_LEVEL_1
    @ DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_RESET_ACK
    TPM activation acknowledged.
    @ DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_ERROR
    TPM system error.
    @ DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_WAIT
    Waiting for pressure values.
    @ DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_NO_SENSORS
    no wheel sensors
    @ DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_ACTIVE
    TPMS active.
    @ DW_VEHICLEIO_HEADLIGHTS_OFF
    @ DW_VEHICLEIO_HEADLIGHTS_LOW_BEAM
    @ DW_VEHICLEIO_HEADLIGHTS_HIGH_BEAM
    @ DW_VEHICLEIO_HEADLIGHTS_DRL
    @ DW_VEHICLEIO_HEADLIGHTS_UNKNOWN
    @ DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_BLENDING
    Blending.
    @ DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_OPEN
    Open_Loop.
    @ DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_UNKNOWN
    Unknown.
    @ DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_CLOSED
    Closed_Loop.
    @ DW_VEHICLEIO_BSM_REQUEST_FLASHING
    @ DW_VEHICLEIO_BSM_REQUEST_NONE
    @ DW_VEHICLEIO_BSM_REQUEST_UNKNOWN
    @ DW_VEHICLEIO_BSM_REQUEST_CONTINUOUS
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_TBCC
    Test bench cruise control mode.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_SPORT_OFF
    Sport Version.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_EMT
    Exhaust emission test.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_FLT
    Temporary or continously system error.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_INIT
    Initialization.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_DIAG
    Diagnostics.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_ESP_ASR_CTRL_ACTV
    ESP or ASR control active.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_OFF_SPORT_PLUS
    ESP off mode or Sport plus.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_NORM
    Normal operation.
    @ DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_ABS_CTRL_ACTV
    ABS control active.
    @ DW_VEHICLEIO_OVERRIDE_BRAKE
    @ DW_VEHICLEIO_OVERRIDE_THROTTLE
    @ DW_VEHICLEIO_OVERRIDE_MAX
    @ DW_VEHICLEIO_OVERRIDE_STEERING
    @ DW_VEHICLEIO_OVERRIDE_NONE
    @ DW_VEHICLEIO_OVERRIDE_GEAR
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_INVALID
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_RIGHT
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_REAR
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_FRONT
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_LEFT
    @ DW_VEHICLEIO_GEAR_DRIVE
    @ DW_VEHICLEIO_GEAR_NEUTRAL
    @ DW_VEHICLEIO_GEAR_LOW
    @ DW_VEHICLEIO_GEAR_REVERSE
    @ DW_VEHICLEIO_GEAR_MANUAL_REVERSE
    @ DW_VEHICLEIO_GEAR_PARK
    @ DW_VEHICLEIO_GEAR_UNKNOWN
    @ DW_VEHICLEIO_AEB_STATE_READY
    @ DW_VEHICLEIO_AEB_STATE_OFF
    @ DW_VEHICLEIO_AEB_STATE_UNKNOWN
    @ DW_VEHICLEIO_MIRROR_FOLD
    @ DW_VEHICLEIO_MIRROR_ADJUST_LEFT
    @ DW_VEHICLEIO_MIRROR_UNKNOWN
    @ DW_VEHICLEIO_MIRROR_ADJUST_RIGHT
    @ DW_VEHICLEIO_MIRROR_UNFOLD
    @ DW_VEHICLEIO_ABS_INTERVENTION_INIT
    Initialization.
    @ DW_VEHICLEIO_ABS_INTERVENTION_TBCC
    Test bench cruise control mode.
    @ DW_VEHICLEIO_ABS_INTERVENTION_ABS_CTRL_ACTV
    ABS control active.
    @ DW_VEHICLEIO_ABS_INTERVENTION_SPORT_OFF
    AMG.
    @ DW_VEHICLEIO_ABS_INTERVENTION_NORM
    Normal operation.
    @ DW_VEHICLEIO_ABS_INTERVENTION_SPORT2_OFF
    ESP off mode (not AMG) or AMG.
    @ DW_VEHICLEIO_ABS_INTERVENTION_DIAG
    Diagnostics.
    @ DW_VEHICLEIO_ABS_INTERVENTION_ESP_ASR_CTRL_ACTV
    ESP or ASR control active.
    @ DW_VEHICLEIO_ABS_INTERVENTION_EMT
    Exhaust emission test.
    @ DW_VEHICLEIO_ABS_INTERVENTION_FLT
    Temporary or continously system error.
    @ DW_VEHICLEIO_HOLD_STATUS_TRANSITION
    Transition.
    @ DW_VEHICLEIO_HOLD_STATUS_HOLD
    Hold.
    @ DW_VEHICLEIO_HOLD_STATUS_UNKNOWN
    Unknown.
    @ DW_VEHICLEIO_HOLD_STATUS_NOHOLD
    No Hold.
    @ DW_VIO_LANE_DEPARTURE_WARNING_STATE_COUNT
    Count of LDW states.
    @ DW_VIO_LANE_DEPARTURE_WARNING_STATE_OFF
    Warning not active.
    @ DW_VIO_LANE_DEPARTURE_WARNING_STATE_ON
    Warning active.
    @ DW_VEHICLEIO_TURNSIGNAL_OFF
    @ DW_VEHICLEIO_TURNSIGNAL_LEFT
    @ DW_VEHICLEIO_TURNSIGNAL_EMERGENCY
    @ DW_VEHICLEIO_TURNSIGNAL_RIGHT
    @ DW_VEHICLEIO_TURNSIGNAL_UNKNOWN
    @ DW_VEHICLEIO_MOONROOF_CLOSE
    @ DW_VEHICLEIO_MOONROOF_OPEN
    @ DW_VEHICLEIO_MOONROOF_UNKNOWN
    @ DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_SIG_DEF
    Signal defect detected.
    @ DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_NOT_DEFINED
    undefined
    @ DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_REDUCED_QUALITY
    reduced signal integrity
    @ DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_NORMAL_OPERATION
    Functional and electrical checks passed.
    @ DW_VEHICLEIO_SIGNAL_QUALITY_OK
    @ DW_VEHICLEIO_SIGNAL_QUALITY_NOT_OK
    @ DW_VEHICLEIO_GENERIC
    @ DW_VEHICLEIO_DATASPEED
    @ DW_VEHICLEIO_CUSTOM
    @ DW_VEHICLEIO_DRIVER_COUNT
    @ DW_VEHICLEIO_LCF_ACTIVE_RIGHT
    @ DW_VEHICLEIO_LCF_PROPOSED_LEFT
    @ DW_VEHICLEIO_LCF_ACTIVE_LEFT
    @ DW_VEHICLEIO_LCF_CANCEL_LEFT
    @ DW_VEHICLEIO_LCF_CANCEL_RIGHT
    @ DW_VEHICLEIO_LCF_OFF
    @ DW_VEHICLEIO_LCF_AVAILABLE
    @ DW_VEHICLEIO_LCF_PROPOSED_RIGHT
    @ DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_VOID
    Neither forward nor backward (stop)
    @ DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_BACKWARD
    Direction backward.
    @ DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_FORWARD
    Direction forward.
    @ DW_VEHICLEIO_VEHICLE_STOPPED_UNKNOWN
    Vehicle not moving.
    @ DW_VEHICLEIO_VEHICLE_STOPPED_TRUE
    Schroedingers Vehicle Motion.
    @ DW_VEHICLEIO_VEHICLE_STOPPED_FALSE
    Vehicle moving.
    @ DW_VEHICLEIO_LAT_MODE_AES
    @ DW_VEHICLEIO_LAT_MODE_LSS
    @ DW_VEHICLEIO_LAT_MODE_IDLE
    @ DW_VEHICLEIO_LAT_MODE_UNKNOWN
    @ DW_VEHICLEIO_LAT_MODE_PARK
    @ DW_VEHICLEIO_LAT_MODE_L2_PLUS
    @ DW_VEHICLEIO_LAT_MODE_L2
    @ DW_VEHICLEIO_LAT_MODE_L3
    @ DW_VIO_LANE_DEPARTURE_WARNING_SIDE_LEFT
    Warning on the left side.
    @ DW_VIO_LANE_DEPARTURE_WARNING_SIDE_NONE
    No warning on any side.
    @ DW_VIO_LANE_DEPARTURE_WARNING_SIDE_COUNT
    Count of LDW warning sides.
    @ DW_VIO_LANE_DEPARTURE_WARNING_SIDE_RIGHT
    Warning on the right side.
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_RIGHT
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_LEFT
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_FRONT
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_INVALID
    @ DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_REAR
    @ DW_VEHICLEIO_DRIVE_POSITION_TARGET_D
    D.
    @ DW_VEHICLEIO_DRIVE_POSITION_TARGET_P
    P.
    @ DW_VEHICLEIO_DRIVE_POSITION_TARGET_R
    R.
    @ DW_VEHICLEIO_DRIVE_POSITION_TARGET_N
    N.
    @ DW_VEHICLEIO_EM_STAND_STILL_TRUE
    Vehicle not moving.
    @ DW_VEHICLEIO_EM_STAND_STILL_UNKNOWN
    Schroedingers Vehicle Motion.
    @ DW_VEHICLEIO_EM_STAND_STILL_FALSE
    Vehicle moving.
    @ DW_VEHICLEIO_DRIVING_LIMITED
    Comfortable driving is expected (most conservative).
    @ DW_VEHICLEIO_DRIVING_MODE_INVALID
    Driving mode is not valid.
    @ DW_VEHICLEIO_DRIVING_NO_SAFETY
    VehicleIO will bypass all safety checks.
    @ DW_VEHICLEIO_DRIVING_COLLISION_AVOIDANCE
    Safety checks suitable for collision avoidance logic (right now same as NO_SAFETY below).
    @ DW_VEHICLEIO_DRIVING_LIMITED_ND
    Same as above, but unsafe commands are clamped to safe limits and warnings are isssued.
    @ DW_VEHICLEIO_LON_MODE_UNKNOWN
    @ DW_VEHICLEIO_LON_MODE_CA
    @ DW_VEHICLEIO_LON_MODE_PARK
    @ DW_VEHICLEIO_LON_MODE_IDLE
    @ DW_VEHICLEIO_LON_MODE_DRIVE_L3
    @ DW_VEHICLEIO_LON_MODE_DRIVE_L2
    @ DW_VEHICLEIO_IGNITION_STATUS_IGN_OFF
    Ignition off (15c)
    @ DW_VEHICLEIO_IGNITION_STATUS_IGN_START
    Ignition start (50)
    @ DW_VEHICLEIO_IGNITION_STATUS_IGN_LOCK
    Ignition lock (0)
    @ DW_VEHICLEIO_IGNITION_STATUS_IGN_ACC
    Ignition accessory (15r)
    @ DW_VEHICLEIO_IGNITION_STATUS_IGN_ON
    Ignition on (15)
    Generic signal structure capturing data validity and timestamp.
    The capability state data.
    The vehicle IO state data.
    float float32_t
    Specifies POD types.
    Definition: Types.h:70
    int64_t dwTime_t
    Specifies a timestamp unit, in microseconds.
    Definition: Types.h:82
    double float64_t
    Definition: Types.h:71
    Defines a two-element single-precision floating-point vector.
    Definition: Types.h:325
    @ DW_VEHICLE_NUM_WHEELS
    Number of wheels describing the vehicle.
    Definition: Vehicle.h:307
    人人超碰97caoporen国产