• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.14.77 Release
    For Test and Development only

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

    Detailed Description

    NVIDIA DriveWorks API: VehicleIO car controller

    Description: API to access car controller box

    Definition in file VehicleIOLegacyStructures.h.

    Go to the source code of this file.

    Data Structures

    struct  dwStateValueFloat
     Generic signal structure capturing data validity and timestamp. More...
     
    struct  dwVehicleIOAxleStatus
     
    struct  dwVehicleIOCapabilityState
     brief The capability state data. Fields may not be populated if not supported by driver. More...
     
    struct  dwVehicleIOCommand
     The command data. More...
     
    struct  dwVehicleIOEgoFeedback
     
    struct  dwVehicleIOMiscCommand
     
    struct  dwVehicleIOState
     The vehicle IO state data. Fields only set if supported by VehicleIO driver. More...
     
    struct  dwVehicleIOTrailerState
     

    Macros

    #define DW_VEHICLE_IO_LANE_DEPARTURE_WARNING_SIDE_COUNT   3
     
    #define DW_VEHICLE_IO_LANE_DEPARTURE_WARNING_STATE_COUNT   2
     
    #define DW_VEHICLEIO_LOW_SPEED_THRESHOLD   4
     
    #define DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP   10
     

    Enumerations

    enum  dwVehicleIOAbsIntervention {
      DW_VEHICLEIO_ABS_INTERVENTION_NORM = 0 ,
      DW_VEHICLEIO_ABS_INTERVENTION_INIT = 1 ,
      DW_VEHICLEIO_ABS_INTERVENTION_DIAG = 2 ,
      DW_VEHICLEIO_ABS_INTERVENTION_EMT = 3 ,
      DW_VEHICLEIO_ABS_INTERVENTION_TBCC = 4 ,
      DW_VEHICLEIO_ABS_INTERVENTION_FLT = 5 ,
      DW_VEHICLEIO_ABS_INTERVENTION_ESP_ASR_CTRL_ACTV = 6 ,
      DW_VEHICLEIO_ABS_INTERVENTION_SPORT_OFF = 7 ,
      DW_VEHICLEIO_ABS_INTERVENTION_SPORT2_OFF = 8 ,
      DW_VEHICLEIO_ABS_INTERVENTION_ABS_CTRL_ACTV = 9
    }
     
    enum  dwVehicleIOAEBState {
      DW_VEHICLEIO_AEB_STATE_UNKNOWN = 0 ,
      DW_VEHICLEIO_AEB_STATE_OFF = 1 ,
      DW_VEHICLEIO_AEB_STATE_READY = 2
    }
     AEB - Automatic Emergency Braking System Status to report externally. More...
     
    enum  dwVehicleIOBSMRequest {
      DW_VEHICLEIO_BSM_REQUEST_UNKNOWN = 0 ,
      DW_VEHICLEIO_BSM_REQUEST_NONE = 1 ,
      DW_VEHICLEIO_BSM_REQUEST_CONTINUOUS = 2 ,
      DW_VEHICLEIO_BSM_REQUEST_FLASHING = 3
    }
     BSM - Blind Spot Monitoring Request. More...
     
    enum  dwVehicleIOCDWRequestType {
      DW_VEHICLEIO_CDW_REQUEST_NONE = 0 ,
      DW_VEHICLEIO_CDW_REQUEST_LEVEL_1 = 1 ,
      DW_VEHICLEIO_CDW_REQUEST_LEVEL_2 = 2
    }
     CDW - Close Distance Warning Status to report externally. More...
     
    enum  dwVehicleIODoorLock {
      DW_VEHICLEIO_DOOR_UNKNOWN = 0 ,
      DW_VEHICLEIO_DOOR_UNLOCK = 1 ,
      DW_VEHICLEIO_DOOR_LOCK = 2
    }
     
    enum  dwVehicleIODrivePositionTarget {
      DW_VEHICLEIO_DRIVE_POSITION_TARGET_D = 0 ,
      DW_VEHICLEIO_DRIVE_POSITION_TARGET_N = 1 ,
      DW_VEHICLEIO_DRIVE_POSITION_TARGET_R = 2 ,
      DW_VEHICLEIO_DRIVE_POSITION_TARGET_P = 3
    }
     
    enum  dwVehicleIODrivingMode {
      DW_VEHICLEIO_DRIVING_LIMITED = 0 ,
      DW_VEHICLEIO_DRIVING_LIMITED_ND = 256 ,
      DW_VEHICLEIO_DRIVING_COLLISION_AVOIDANCE = 512 ,
      DW_VEHICLEIO_DRIVING_NO_SAFETY = 768 ,
      DW_VEHICLEIO_DRIVING_MODE_INVALID = 1024
    }
     
    enum  dwVehicleIOEmStandStill {
      DW_VEHICLEIO_EM_STAND_STILL_FALSE = 0 ,
      DW_VEHICLEIO_EM_STAND_STILL_TRUE = 1 ,
      DW_VEHICLEIO_EM_STAND_STILL_UNKNOWN = 2
    }
     
    enum  dwVehicleIOESCOperationalState {
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_NORM = 0 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_INIT = 1 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_DIAG = 2 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_EMT = 3 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_TBCC = 4 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_FLT = 5 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_ESP_ASR_CTRL_ACTV = 6 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_SPORT_OFF = 7 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_OFF_SPORT_PLUS = 8 ,
      DW_VEHICLEIO__E_S_C_OPERATIONAL_STATE_ABS_CTRL_ACTV = 9
    }
     
    enum  dwVehicleIOFaults {
      DW_VEHICLEIO_FAULT_NONE = 0 ,
      DW_VEHICLEIO_FAULT_BRAKE = 1 ,
      DW_VEHICLEIO_FAULT_STEERING = 2 ,
      DW_VEHICLEIO_FAULT_THROTTLE = 4 ,
      DW_VEHICLEIO_FAULT_GEAR = 8 ,
      DW_VEHICLEIO_FAULT_SAFETY = 16 ,
      DW_VEHICLEIO_FAULT_MAX = 2147483648
    }
     
    enum  dwVehicleIOFCWState {
      DW_VEHICLEIO_FCW_STATE_UNKNOWN = 0 ,
      DW_VEHICLEIO_FCW_STATE_OFF = 1 ,
      DW_VEHICLEIO_FCW_STATE_READY = 2
    }
     FCW - Forward Collision Warning Status to report externally. More...
     
    enum  dwVehicleIOFrontSteeringAngleQuality {
      DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_NOT_DEFINED = 0 ,
      DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_NORMAL_OPERATION = 1 ,
      DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_REDUCED_QUALITY = 2 ,
      DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_INIT = 3 ,
      DW_VEHICLEIO_FRONT_STEERING_ANGLE_QUALITY_SIG_DEF = 4
    }
     
    enum  dwVehicleIOGear {
      DW_VEHICLEIO_GEAR_UNKNOWN = 0 ,
      DW_VEHICLEIO_GEAR_PARK = 1 ,
      DW_VEHICLEIO_GEAR_REVERSE = 2 ,
      DW_VEHICLEIO_GEAR_NEUTRAL = 3 ,
      DW_VEHICLEIO_GEAR_DRIVE = 4 ,
      DW_VEHICLEIO_GEAR_LOW = 5 ,
      DW_VEHICLEIO_GEAR_MANUAL_REVERSE = 100 ,
      DW_VEHICLEIO_GEAR_1 = 101 ,
      DW_VEHICLEIO_GEAR_2 = 102 ,
      DW_VEHICLEIO_GEAR_3 = 103 ,
      DW_VEHICLEIO_GEAR_4 = 104 ,
      DW_VEHICLEIO_GEAR_5 = 105 ,
      DW_VEHICLEIO_GEAR_6 = 106 ,
      DW_VEHICLEIO_GEAR_7 = 107 ,
      DW_VEHICLEIO_GEAR_8 = 108 ,
      DW_VEHICLEIO_GEAR_9 = 109
    }
     
    enum  dwVehicleIOHeadlights {
      DW_VEHICLEIO_HEADLIGHTS_UNKNOWN = 0 ,
      DW_VEHICLEIO_HEADLIGHTS_OFF = 1 ,
      DW_VEHICLEIO_HEADLIGHTS_LOW_BEAM = 2 ,
      DW_VEHICLEIO_HEADLIGHTS_HIGH_BEAM = 3 ,
      DW_VEHICLEIO_HEADLIGHTS_DRL = 4
    }
     
    enum  dwVehicleIOHoldStatus {
      DW_VEHICLEIO_HOLD_STATUS_UNKNOWN = 0 ,
      DW_VEHICLEIO_HOLD_STATUS_NOHOLD = 1 ,
      DW_VEHICLEIO_HOLD_STATUS_HOLD = 2 ,
      DW_VEHICLEIO_HOLD_STATUS_TRANSITION = 3
    }
     
    enum  dwVehicleIOIgnitionStatus {
      DW_VEHICLEIO_IGNITION_STATUS_IGN_LOCK = 0 ,
      DW_VEHICLEIO_IGNITION_STATUS_IGN_OFF = 1 ,
      DW_VEHICLEIO_IGNITION_STATUS_IGN_ACC = 2 ,
      DW_VEHICLEIO_IGNITION_STATUS_IGN_ON = 3 ,
      DW_VEHICLEIO_IGNITION_STATUS_IGN_START = 4
    }
     
    enum  dwVehicleIOLaneChangeFeedbackRequest {
      DW_VEHICLEIO_LCF_OFF = 0 ,
      DW_VEHICLEIO_LCF_AVAILABLE = 1 ,
      DW_VEHICLEIO_LCF_ACTIVE_LEFT = 2 ,
      DW_VEHICLEIO_LCF_ACTIVE_RIGHT = 3 ,
      DW_VEHICLEIO_LCF_PROPOSED_LEFT = 4 ,
      DW_VEHICLEIO_LCF_PROPOSED_RIGHT = 5 ,
      DW_VEHICLEIO_LCF_CANCEL_LEFT = 6 ,
      DW_VEHICLEIO_LCF_CANCEL_RIGHT = 7
    }
     
    enum  dwVehicleIOLaneDepartureWarningSide {
      DW_VEHICLEIO_LANE_DEPARTURE_WARNING_SIDE_NONE = 0 ,
      DW_VEHICLEIO_LANE_DEPARTURE_WARNING_SIDE_LEFT = 1 ,
      DW_VEHICLEIO_LANE_DEPARTURE_WARNING_SIDE_RIGHT = 2
    }
     Driveworks LDW sides with respect to the ego lane. More...
     
    enum  dwVehicleIOLaneDepartureWarningState {
      DW_VEHICLEIO_LANE_DEPARTURE_WARNING_STATE_OFF = 0 ,
      DW_VEHICLEIO_LANE_DEPARTURE_WARNING_STATE_ON = 1
    }
     Driveworks Lane Departure Warning (LDW) activation states. More...
     
    enum  dwVehicleIOLatCtrlInterventionDirectionELK {
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_INVALID = 0 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_FRONT = 1 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_LEFT = 2 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_RIGHT = 3 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_E_L_K_EVENT_DIRECTION_REAR = 4
    }
     
    enum  dwVehicleIOLatCtrlInterventionDirectionLKA {
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_INVALID = 0 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_FRONT = 1 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_LEFT = 2 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_RIGHT = 3 ,
      DW_VEHICLEIO_LAT_CTRL_INTERVENTION_DIRECTION_L_K_A_EVENT_DIRECTION_REAR = 4
    }
     
    enum  dwVehicleIOLatCtrlLoopStatus {
      DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_UNKNOWN = 0 ,
      DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_OPEN = 1 ,
      DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_BLENDING = 2 ,
      DW_VEHICLEIO_LAT_CTRL_LOOP_STATUS_CLOSED = 3
    }
     
    enum  dwVehicleIOLatMode {
      DW_VEHICLEIO_LAT_MODE_UNKNOWN = 0 ,
      DW_VEHICLEIO_LAT_MODE_IDLE = 1 ,
      DW_VEHICLEIO_LAT_MODE_L2 = 2 ,
      DW_VEHICLEIO_LAT_MODE_L2_PLUS = 3 ,
      DW_VEHICLEIO_LAT_MODE_L3 = 4 ,
      DW_VEHICLEIO_LAT_MODE_PARK = 5 ,
      DW_VEHICLEIO_LAT_MODE_LSS = 6 ,
      DW_VEHICLEIO_LAT_MODE_AES = 7 ,
      DW_VEHICLEIO_LAT_MODE_ESS = 8
    }
     Lateral ADAS mode Note: all modes may not be supported depending on vehicle. More...
     
    enum  dwVehicleIOLongCtrlAccelPerfRequest {
      DW_VEHICLEIO_LONG_CTRL_ACCEL_PERF_REQUEST_NONE = 0 ,
      DW_VEHICLEIO_LONG_CTRL_ACCEL_PERF_REQUEST_COMFORT = 1 ,
      DW_VEHICLEIO_LONG_CTRL_ACCEL_PERF_REQUEST_DYNAMIC = 2 ,
      DW_VEHICLEIO_LONG_CTRL_ACCEL_PERF_REQUEST_HIGH_ACCURACY = 3 ,
      DW_VEHICLEIO_LONG_CTRL_ACCEL_PERF_REQUEST_EMERGENCY = 4
    }
     
    enum  dwVehicleIOLongCtrlEcoAssistStatus {
      DW_VEHICLEIO_LONG_CTRL_ECO_ASSIST_STATUS_UNKNOWN = 0 ,
      DW_VEHICLEIO_LONG_CTRL_ECO_ASSIST_STATUS_INACTIVE = 1 ,
      DW_VEHICLEIO_LONG_CTRL_ECO_ASSIST_STATUS_ACTIVE = 2 ,
      DW_VEHICLEIO_LONG_CTRL_ECO_ASSIST_STATUS_ENGAGED = 3
    }
     
    enum  dwVehicleIOLongCtrlInteractionModeRequest {
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_IDLE = 0 ,
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_REGENERATION_MODE = 1 ,
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_MIN_MODE = 2 ,
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_MAX_MODE = 3 ,
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_DIRECT_MODE = 4 ,
      DW_VEHICLEIO_LONG_CTRL_INTERACTION_MODE_REQUEST_DECOUPLING_MODE = 5
    }
     
    enum  dwVehicleIOLongCtrlReferenceInputRequest {
      DW_VEHICLEIO_LONG_CTRL_REFERENCE_INPUT_REQUEST_IDLE = 0 ,
      DW_VEHICLEIO_LONG_CTRL_REFERENCE_INPUT_REQUEST_ACCEL_INPUT = 1 ,
      DW_VEHICLEIO_LONG_CTRL_REFERENCE_INPUT_REQUEST_SPEED_INPUT = 2 ,
      DW_VEHICLEIO_LONG_CTRL_REFERENCE_INPUT_REQUEST_DIST_INPUT = 3
    }
     
    enum  dwVehicleIOLongCtrlSecureRequest {
      DW_VEHICLEIO_LONG_CTRL_SECURE_REQUEST_NOMON_FLWUP = 0 ,
      DW_VEHICLEIO_LONG_CTRL_SECURE_REQUEST_SSCMON_STNDSTILL_SEC = 1 ,
      DW_VEHICLEIO_LONG_CTRL_SECURE_REQUEST_SSC_SEC_RQ = 2
    }
     
    enum  dwVehicleIOLonMode {
      DW_VEHICLEIO_LON_MODE_UNKNOWN = 0 ,
      DW_VEHICLEIO_LON_MODE_IDLE = 1 ,
      DW_VEHICLEIO_LON_MODE_PARK = 2 ,
      DW_VEHICLEIO_LON_MODE_CA = 3 ,
      DW_VEHICLEIO_LON_MODE_DRIVE_L2 = 4 ,
      DW_VEHICLEIO_LON_MODE_DRIVE_L3 = 5 ,
      DW_VEHICLEIO_LON_MODE_SPEED_LIMITING = 6 ,
      DW_VEHICLEIO_LON_MODE_DBS = 7
    }
     Longitudinal ADAS mode Note: all modes may not be supported depending on vehicle. More...
     
    enum  dwVehicleIOMirror {
      DW_VEHICLEIO_MIRROR_UNKNOWN = 0 ,
      DW_VEHICLEIO_MIRROR_FOLD = 1 ,
      DW_VEHICLEIO_MIRROR_UNFOLD = 2 ,
      DW_VEHICLEIO_MIRROR_ADJUST_LEFT = 3 ,
      DW_VEHICLEIO_MIRROR_ADJUST_RIGHT = 4
    }
     
    enum  dwVehicleIOMirrorFoldState {
      DW_VEHICLEIO_MIRROR_FOLD_STATE_UNKNOWN = 0 ,
      DW_VEHICLEIO_MIRROR_FOLD_STATE_FOLDED = 1 ,
      DW_VEHICLEIO_MIRROR_FOLD_STATE_UNFOLDED = 2 ,
      DW_VEHICLEIO_MIRROR_FOLD_STATE_FOLD_IN = 3 ,
      DW_VEHICLEIO_MIRROR_FOLD_STATE_FOLD_OUT = 4
    }
     
    enum  dwVehicleIOMoonroof {
      DW_VEHICLEIO_MOONROOF_UNKNOWN = 0 ,
      DW_VEHICLEIO_MOONROOF_CLOSE = 1 ,
      DW_VEHICLEIO_MOONROOF_OPEN = 2
    }
     
    enum  dwVehicleIOOverrides {
      DW_VEHICLEIO_OVERRIDE_NONE = 0 ,
      DW_VEHICLEIO_OVERRIDE_BRAKE = 1 ,
      DW_VEHICLEIO_OVERRIDE_STEERING = 2 ,
      DW_VEHICLEIO_OVERRIDE_THROTTLE = 4 ,
      DW_VEHICLEIO_OVERRIDE_GEAR = 8 ,
      DW_VEHICLEIO_OVERRIDE_MAX = 2147483648
    }
     
    enum  dwVehicleIOSignalQuality {
      DW_VEHICLEIO_SIGNAL_QUALITY_NOT_OK = 0 ,
      DW_VEHICLEIO_SIGNAL_QUALITY_OK = 1
    }
     Generic struct representing signal quality. More...
     
    enum  dwVehicleIOSpeedDirectionESC {
      DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_VOID = 0 ,
      DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_FORWARD = 1 ,
      DW_VEHICLEIO_SPEED_DIRECTION_E_S_C_BACKWARD = 2
    }
     
    enum  dwVehicleIOTirePressureMonitoringState {
      DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_ACTIVE = 0 ,
      DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_WAIT = 1 ,
      DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_ERROR = 2 ,
      DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_NO_SENSORS = 3 ,
      DW_VEHICLEIO_TIRE_PRESSURE_MONITORING_STATE_RESET_ACK = 4
    }
     
    enum  dwVehicleIOTrailerConnectedStatus {
      DW_VEHICLEIO_TRAILER_CONNECTED_UNKNOWN = 0 ,
      DW_VEHICLEIO_TRAILER_CONNECTED_NO = 1 ,
      DW_VEHICLEIO_TRAILER_CONNECTED_YES = 2 ,
      DW_VEHICLEIO_TRAILER_CONNECTED_ERROR = 3
    }
     Trailer connected status. More...
     
    enum  dwVehicleIOTurnSignal {
      DW_VEHICLEIO_TURNSIGNAL_UNKNOWN = 0 ,
      DW_VEHICLEIO_TURNSIGNAL_OFF = 1 ,
      DW_VEHICLEIO_TURNSIGNAL_LEFT = 2 ,
      DW_VEHICLEIO_TURNSIGNAL_RIGHT = 3 ,
      DW_VEHICLEIO_TURNSIGNAL_EMERGENCY = 4
    }
     
    enum  dwVehicleIOTurnSignalType {
      DW_VEHICLEIO_TURNSIGNALTYPE_UNKNOWN = 0 ,
      DW_VEHICLEIO_TURNSIGNALTYPE_DILC = 1 ,
      DW_VEHICLEIO_TURNSIGNALTYPE_SILC = 2
    }
     
    enum  dwVehicleIOType {
      DW_VEHICLEIO_DATASPEED = 0 ,
      DW_VEHICLEIO_GENERIC = 1 ,
      DW_VEHICLEIO_CUSTOM = 2 ,
      DW_VEHICLEIO_DRIVER_COUNT = 3
    }
     
    enum  dwVehicleIOVehicleStopped {
      DW_VEHICLEIO_VEHICLE_STOPPED_UNKNOWN = 0 ,
      DW_VEHICLEIO_VEHICLE_STOPPED_FALSE = 1 ,
      DW_VEHICLEIO_VEHICLE_STOPPED_TRUE = 2
    }
     
    enum  dwVehicleIOWheelTicksDirection {
      DW_VEHICLEIO_WHEEL_TICKS_DIRECTION_VOID = 0 ,
      DW_VEHICLEIO_WHEEL_TICKS_DIRECTION_FORWARD = 1 ,
      DW_VEHICLEIO_WHEEL_TICKS_DIRECTION_BACKWARD = 2 ,
      DW_VEHICLEIO_WHEEL_TICKS_DIRECTION_FORCE32 = 0x7fffffff
    }
     Wheel rotation direction. More...
     
    人人超碰97caoporen国产