- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
Defines the APIs to access the VehicleIO car controller box.
Defines structures to communicate VIO state and commands between VAL and NDAS.
Modules | |
VehicleIO Driver Interface | |
Defines the VehicleIO Driver module for accessing a custom VehicleIO backend. | |
Macros | |
#define | DW_VEHICLEIO_LOW_SPEED_THRESHOLD 4 |
#define | DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP 10 |
#define | DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES 50 |
Typedefs | |
typedef uint32_t | bitmask |
typedef struct dwVehicleIOObject * | dwVehicleIOHandle_t |
typedef struct dwVehicleIOObject * | dwVehicleIOHandle_t |
Functions | |
DW_API_PUBLIC dwStatus | dwVehicleIO_addCANSensor (uint32_t const vehicleIOId, dwSensorHandle_t const sensorHandle, dwVehicleIOHandle_t const obj) |
Add CAN sensor handle and corresponding VehicleIO configuration ID. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_addDataSensor (uint32_t const vehicleIOId, dwSensorHandle_t const sensorHandle, dwVehicleIOHandle_t const obj) |
Add data sensor handle and corresponding VehicleIO configuration ID. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_consumeCANFrame (dwCANMessage const *const msg, uint32_t const sensorId, dwVehicleIOHandle_t const obj) |
Parse a received event. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_consumeDataPacket (const dwDataPacket *const pkt, uint32_t const sensorId, dwVehicleIOHandle_t const obj) |
Similar to dwVehicleIO_consumeCANFrame. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_getCapabilities (dwVehicleIOCapabilities *const caps, dwVehicleIOHandle_t const obj) |
Retrieve current VehicleIO capabilities. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleActuationFeedback (dwVehicleIOActuationFeedback *const actuationFeedback, dwVehicleIOHandle_t const obj) |
Retrieve current vehicle actuation feedback. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleNonSafetyState (dwVehicleIONonSafetyState *const nonSafeState, dwVehicleIOHandle_t const obj) |
Retrieve current vehicle non-safety state. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleSafetyState (dwVehicleIOSafetyState *const safeState, dwVehicleIOHandle_t const obj) |
Retrieve current vehicle safety state. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleState (dwVehicleIOState *const state, dwVehicleIOHandle_t const obj) |
Retrieve current vehicle state. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_initialize (dwVehicleIOHandle_t *const obj, dwVehicleIOType const type, const dwVehicle *const properties, dwContextHandle_t const ctx) |
Initialize VehicleIO and prepare all internal structures. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_initializeFromDBC (dwVehicleIOHandle_t *const obj, dwVehicleIOType const type, const dwVehicle *const properties, const char *const dbcFilePath, dwContextHandle_t const ctx) |
Initialize VehicleIO and prepare all internal structures from DBC File. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_initializeFromRig (dwVehicleIOHandle_t *const obj, dwConstRigHandle_t const rig, dwContextHandle_t const ctx) |
Initialize VehicleIO and prepare all internal structures from Rig Configuration. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_release (dwVehicleIOHandle_t const obj) |
Release used memory and close all modules. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_reset (dwVehicleIOHandle_t const obj) |
Reset VehicleIO to default state. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_selectDriverOverrides (bool const throttleOverride, bool const steeringOverride, bool const brakeOverride, bool const gearOverride, dwVehicleIOHandle_t const obj) |
Select the overrides that the driver can use to disable vehicle control. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_sendCommand (const dwVehicleIOCommand *const cmd, dwVehicleIOHandle_t const obj) |
Send a vehicle command to the VehicleIO. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_sendMiscCommand (const dwVehicleIOMiscCommand *const cmd, dwVehicleIOHandle_t const obj) |
Send a vehicle command to the VehicleIO. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_sendNonSafetyCommand (const dwVehicleIONonSafetyCommand *const nonSafeCmd, dwVehicleIOHandle_t const obj) |
Send a vehicle non-safety command to the VehicleIO. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_sendSafetyCommand (const dwVehicleIOSafetyCommand *const safeCmd, dwVehicleIOHandle_t const obj) |
Send a vehicle safety command to the VehicleIO. More... | |
DW_API_PUBLIC dwStatus | dwVehicleIO_setDrivingMode (dwVehicleIODrivingMode const mode, dwVehicleIOHandle_t const obj) |
Setting driving mode allows to control the behaviour of VehicleIO module with regards to the permitted commands and number of safety checks performed. More... | |
struct dwVehicleIOActuationFeedback |
Data Fields | ||
---|---|---|
dwVioAbsIntervention | absIntervention |
|
dwVioBrakeAllWheelsABS | brakeAllWheelsABS |
|
dwVioBrakePedalStatus | brakePedalStatus |
|
dwVioBrakeStatus | brakeStatus |
|
float32_t | brakeTorque |
|
float32_t | brakeTorqueWheels[4] |
|
dwVioBrakeTorqueWheelsQuality | brakeTorqueWheelsQuality[4] |
|
dwVioDrivePositionStatus | drivePositionStatus |
|
dwVioDrivePositionTarget | drivePositionTarget |
|
float32_t | driverBrakePedal |
|
dwVioDriverInterventionDetectionHigh | driverInterventionDetectionHigh |
|
dwVioDriverOverrideThrottle | driverOverrideThrottle |
|
float32_t | frontSteeringAngle |
|
float32_t | frontSteeringAngleHigh |
|
dwVioFrontSteeringAngleLimitationStatusHigh | frontSteeringAngleLimitationStatusHigh |
|
float32_t | frontSteeringAngleOffset |
|
dwVioFrontSteeringAngleOffsetQuality | frontSteeringAngleOffsetQuality |
|
dwVioFrontSteeringAngleQuality | frontSteeringAngleQuality |
|
dwVioFrontSteeringAngleQualityHigh | frontSteeringAngleQualityHigh |
|
dwTime_t | frontSteeringTimestamp |
|
dwTime_t | frontSteeringTimestampHigh |
|
dwVioFrontSteeringTimestampQuality | frontSteeringTimestampQuality |
|
dwVioGearStatus | gearStatus |
|
dwVioGearTarget | gearTarget |
|
uint8_t | handsoffDetectedFiltered |
|
dwVioHoldStatus | holdStatus |
|
float32_t | latCtrlCurvatureActual |
|
float32_t | latCtrlCurvCapMax[10] |
|
float32_t | latCtrlCurvCapMin[10] |
|
dwVioLatCtrlCurvReqAdditionalStatus | latCtrlCurvReqAdditionalStatus |
|
dwVioLatCtrlDriverInterventionStatus | latCtrlDriverInterventionStatus |
|
dwVioLatCtrlEPSLimitStatus | latCtrlEPSLimitStatus |
|
bitmask | latCtrlErrorStatus |
|
float32_t | latCtrlFailedDegradedSteeringTimeToTakeoverHigh |
|
float32_t | latCtrlFrontWheelAngleRequestLimitedHigh |
|
dwVioLatCtrlLoopStatus | latCtrlLoopStatus |
|
float32_t | latCtrlMaxFrontWheelAngleRequestAllowed |
|
float32_t | latCtrlMaxFrontWheelAngleRequestAllowedHigh |
|
float32_t | latCtrlMaxFrontWheelAngleSpeedRequestAllowedHigh |
|
float32_t | latCtrlMaxRearWheelAngleRequestAllowed |
|
float32_t | latCtrlMinFrontWheelAngleRequestAllowed |
|
bitmask | latCtrlModeAvail |
|
dwVioLatCtrlModeStatus | latCtrlModeStatus |
|
float32_t | latCtrlRackForceEffectiveHigh |
|
float32_t | latCtrlRackForceHigh |
|
dwVioLatCtrlStatus | latCtrlStatus |
|
float32_t | longCtrlAccelAvailable |
|
dwVioLongCtrlActiveSystem | longCtrlActiveSystem |
|
dwVioLongCtrlBrakeTorqueAvailable | longCtrlBrakeTorqueAvailable |
|
dwVioLongCtrlComAvailable | longCtrlComAvailable |
|
dwVioLongCtrlEcoAssistStatus | longCtrlEcoAssistStatus |
|
float32_t | longCtrlEstimatedStopDistance |
|
bitmask | longCtrlFaultStatus |
|
dwVioLongCtrlFrictionRangeEstimation | longCtrlFrictionRangeEstimation |
|
dwVioLongCtrlRedundCheckStatus | longCtrlRedundCheckStatus |
|
dwVioLongCtrlStatus | longCtrlStatus |
|
float32_t | rearWheelAngle |
|
float32_t | rearWheelAngleFactor |
|
float32_t | rearWheelAngleMaximum |
|
float32_t | rearWheelAngleOffset |
|
dwVioRearWheelAngleOffsetQuality | rearWheelAngleOffsetQuality |
|
dwVioRearWheelAngleQuality | rearWheelAngleQuality |
|
dwTime_t | rearWheelAngleTimestamp |
|
dwVioRearWheelAngleTimestampQuality | rearWheelAngleTimestampQuality |
|
uint8_t | reserved[512] | |
dwVioSpeedDirectionESC | speedDirectionESC |
|
float32_t | speedESC |
|
dwTime_t | speedESCTimestamp |
|
float32_t | speedMax |
|
float32_t | speedMin |
|
dwVioSpeedQualityESC | speedQualityESC |
|
dwVioSteeringSystemFailureReasonHigh | steeringSystemFailureReasonHigh |
|
dwVioSteeringSystemInterfaceStatusHigh | steeringSystemInterfaceStatusHigh |
|
dwVioSteeringSystemOffStatusHigh | steeringSystemOffStatusHigh |
|
dwVioSteeringSystemStatusHigh | steeringSystemStatusHigh |
|
float32_t | steeringWheelAngle |
|
dwVioSteeringWheelAngleQuality | steeringWheelAngleQuality |
|
float32_t | steeringWheelTorque |
|
float32_t | steeringWheelTorqueHigh |
|
float32_t | throttleValue |
|
dwTime_t | timestamp_us |
|
dwVioTrailerHitchStatus | trailerHitchStatus |
|
dwVehicleIOActuationFeedbackValidityInfo | validityInfo | |
dwVioVehicleStopped | vehicleStopped |
|
float32_t | wheelSpeed[4] |
|
float32_t | wheelSpeedHigh[4] |
|
dwVioWheelSpeedQuality | wheelSpeedQuality[4] |
|
dwVioWheelSpeedQualityHigh | wheelSpeedQualityHigh[4] |
|
int16_t | wheelTicks[4] |
|
dwVioWheelTicksDirection | wheelTicksDirection[4] |
|
dwVioWheelTicksDirectionHigh | wheelTicksDirectionHigh[4] |
|
int16_t | wheelTicksHigh[4] |
|
dwVioWheelTicksQuality | wheelTicksQuality[4] |
|
dwTime_t | wheelTicksTimestamp[4] |
|
dwTime_t | wheelTicksTimestampHigh[4] |
|
dwVioWheelTicksTimestampQuality | wheelTicksTimestampQuality[4] |
|
dwVioWheelTicksTimestampQualityHigh | wheelTicksTimestampQualityHigh[4] |
|
float32_t | wheelTorque[4] |
|
dwVioWheelTorqueQuality | wheelTorqueQuality[4] |
|
dwTime_t | wheelTorqueTimestamps[4] |
|
dwVioWheelTorqueTimestampsQuality | wheelTorqueTimestampsQuality[4] |
|
struct dwVehicleIOActuationFeedbackValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | absIntervention | |
dwSignalValidity | brakeAllWheelsABS | |
dwSignalValidity | brakePedalStatus | |
dwSignalValidity | brakeStatus | |
dwSignalValidity | brakeTorque | |
dwSignalValidity | brakeTorqueWheels[4] | |
dwSignalValidity | brakeTorqueWheelsQuality[4] | |
dwSignalValidity | drivePositionStatus | |
dwSignalValidity | drivePositionTarget | |
dwSignalValidity | driverBrakePedal | |
dwSignalValidity | driverInterventionDetectionHigh | |
dwSignalValidity | driverOverrideThrottle | |
dwSignalValidity | frontSteeringAngle | |
dwSignalValidity | frontSteeringAngleHigh | |
dwSignalValidity | frontSteeringAngleLimitationStatusHigh | |
dwSignalValidity | frontSteeringAngleOffset | |
dwSignalValidity | frontSteeringAngleOffsetQuality | |
dwSignalValidity | frontSteeringAngleQuality | |
dwSignalValidity | frontSteeringAngleQualityHigh | |
dwSignalValidity | frontSteeringTimestamp | |
dwSignalValidity | frontSteeringTimestampHigh | |
dwSignalValidity | frontSteeringTimestampQuality | |
dwSignalValidity | gearStatus | |
dwSignalValidity | gearTarget | |
dwSignalValidity | handsoffDetectedFiltered | |
dwSignalValidity | holdStatus | |
dwSignalValidity | latCtrlCurvatureActual | |
dwSignalValidity | latCtrlCurvCapMax[10] | |
dwSignalValidity | latCtrlCurvCapMin[10] | |
dwSignalValidity | latCtrlCurvReqAdditionalStatus | |
dwSignalValidity | latCtrlDriverInterventionStatus | |
dwSignalValidity | latCtrlEPSLimitStatus | |
dwSignalValidity | latCtrlErrorStatus | |
dwSignalValidity | latCtrlFailedDegradedSteeringTimeToTakeoverHigh | |
dwSignalValidity | latCtrlFrontWheelAngleRequestLimitedHigh | |
dwSignalValidity | latCtrlLoopStatus | |
dwSignalValidity | latCtrlMaxFrontWheelAngleRequestAllowed | |
dwSignalValidity | latCtrlMaxFrontWheelAngleRequestAllowedHigh | |
dwSignalValidity | latCtrlMaxFrontWheelAngleSpeedRequestAllowedHigh | |
dwSignalValidity | latCtrlMaxRearWheelAngleRequestAllowed | |
dwSignalValidity | latCtrlMinFrontWheelAngleRequestAllowed | |
dwSignalValidity | latCtrlModeAvail | |
dwSignalValidity | latCtrlModeStatus | |
dwSignalValidity | latCtrlRackForceEffectiveHigh | |
dwSignalValidity | latCtrlRackForceHigh | |
dwSignalValidity | latCtrlStatus | |
dwSignalValidity | longCtrlAccelAvailable | |
dwSignalValidity | longCtrlActiveSystem | |
dwSignalValidity | longCtrlBrakeTorqueAvailable | |
dwSignalValidity | longCtrlComAvailable | |
dwSignalValidity | longCtrlEcoAssistStatus | |
dwSignalValidity | longCtrlEstimatedStopDistance | |
dwSignalValidity | longCtrlFaultStatus | |
dwSignalValidity | longCtrlFrictionRangeEstimation | |
dwSignalValidity | longCtrlRedundCheckStatus | |
dwSignalValidity | longCtrlStatus | |
dwSignalValidity | rearWheelAngle | |
dwSignalValidity | rearWheelAngleFactor | |
dwSignalValidity | rearWheelAngleMaximum | |
dwSignalValidity | rearWheelAngleOffset | |
dwSignalValidity | rearWheelAngleOffsetQuality | |
dwSignalValidity | rearWheelAngleQuality | |
dwSignalValidity | rearWheelAngleTimestamp | |
dwSignalValidity | rearWheelAngleTimestampQuality | |
dwSignalValidity | reserved[64] | |
dwSignalValidity | speedDirectionESC | |
dwSignalValidity | speedESC | |
dwSignalValidity | speedESCTimestamp | |
dwSignalValidity | speedMax | |
dwSignalValidity | speedMin | |
dwSignalValidity | speedQualityESC | |
dwSignalValidity | steeringSystemFailureReasonHigh | |
dwSignalValidity | steeringSystemInterfaceStatusHigh | |
dwSignalValidity | steeringSystemOffStatusHigh | |
dwSignalValidity | steeringSystemStatusHigh | |
dwSignalValidity | steeringWheelAngle | |
dwSignalValidity | steeringWheelAngleQuality | |
dwSignalValidity | steeringWheelTorque | |
dwSignalValidity | steeringWheelTorqueHigh | |
dwSignalValidity | throttleValue | |
dwSignalValidity | timestamp_us | |
dwSignalValidity | trailerHitchStatus | |
dwSignalValidity | vehicleStopped | |
dwSignalValidity | wheelSpeed[4] | |
dwSignalValidity | wheelSpeedHigh[4] | |
dwSignalValidity | wheelSpeedQuality[4] | |
dwSignalValidity | wheelSpeedQualityHigh[4] | |
dwSignalValidity | wheelTicks[4] | |
dwSignalValidity | wheelTicksDirection[4] | |
dwSignalValidity | wheelTicksDirectionHigh[4] | |
dwSignalValidity | wheelTicksHigh[4] | |
dwSignalValidity | wheelTicksQuality[4] | |
dwSignalValidity | wheelTicksTimestamp[4] | |
dwSignalValidity | wheelTicksTimestampHigh[4] | |
dwSignalValidity | wheelTicksTimestampQuality[4] | |
dwSignalValidity | wheelTicksTimestampQualityHigh[4] | |
dwSignalValidity | wheelTorque[4] | |
dwSignalValidity | wheelTorqueQuality[4] | |
dwSignalValidity | wheelTorqueTimestamps[4] | |
dwSignalValidity | wheelTorqueTimestampsQuality[4] |
struct dwVehicleIOAxleStatus |
Data Fields | ||
---|---|---|
dwStateValueFloat | driverLoad | Load on driver axle [kg]. |
dwStateValueFloat | frontLoad | Load on front axle [kg]. |
dwStateValueFloat | pusherLoad | Load on pusher axle [kg]. |
dwStateValueFloat | trailerLoad | Sum of load on all trailer axles [kg]. |
struct dwVehicleIOCapabilities |
Data Fields | ||
---|---|---|
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. |
int32_t | brakeValueLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | curvatureLUTSize | Size of the corresponding lookup table. |
float32_t | curvatureRateLUT[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. |
int32_t | curvatureRateLUTSize | Size of the corresponding lookup table. |
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.0*i m/s. |
int32_t | frontSteeringAngleLowSpeedLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | frontSteeringAngleLUTSize | Size of the corresponding lookup table. |
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.0*i m/s. |
int32_t | frontSteeringSpeedLowSpeedLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | frontSteeringSpeedLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | maxAccelerationLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | minAccelerationLUTSize | Size of the corresponding lookup table. |
float32_t | reverseSpeedLimit | Normally a negative value (m/s) |
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. |
int32_t | steeringSpeedLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | steeringWheelAngleLUTSize | Size of the corresponding lookup table. |
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. |
int32_t | throttleValueLUTSize | Size of the corresponding lookup table. |
struct dwVehicleIOCapabilityState |
Data Fields | ||
---|---|---|
dwStateValueFloat | frontWheelAngleMax | The maximum front wheel angle command that can be guaranteed. |
dwStateValueFloat | frontWheelAngleMin | The minimum front wheel angle command that can be guaranteed. |
dwStateValueFloat | lonAccelerationMax | The maximum longutidinal acceleration command that can be guaranteed. |
float32_t | longVelocityForwardMax | A maximum positive longitudinal vehicle speed that the vehicle is designed for. |
dwTime_t | longVelocityForwardMaxTimestamp | |
float32_t | longVelocityForwardMin | A minimum positive longitudinal vehicle speed, when driving forward, to avoid burning the clutch. |
dwTime_t | longVelocityForwardMinTimestamp | |
dwTime_t | rearAxleCurvatureCapabilityTimestamp | |
float32_t | rearAxleCurvatureMax | The tightest radius (left) that can be guaranteed. |
float32_t | rearAxleCurvatureMin | The tightest radius (right) that can be guaranteed. |
dwStateValueFloat | rearWheelAngleMax | The maximum rear wheel angle command that can be guaranteed. |
struct dwVehicleIOCommand |
Data Fields | ||
---|---|---|
bool | additionalDeltaCurvatureCtrlPrefillRequest | Request to activate prefill for differential braking. |
bool | additionalRearAxleDeltaCurvatureValid | True if setting additional delta curvature. |
float32_t | additionalRearAxleDeltaCurvatureValue | Delta Curvature request (1/m) for additional interface executed through differential braking. |
bool | aebRequest | Request to activate AEB. |
dwVehicleIOAEBState | aebState | AEB system status/state. |
bool | brakeValid | True if setting break. |
float32_t | brakeValue | range 0.0 to 1.0 |
dwVehicleIOCDWRequestType | cdwRequest | Request to activate CDW. |
bool | clearFaults | Setting > 0 clears any canbus faults/errors. |
bool | dbsRequest | Dynamic brake support request. |
bool | decelerationValid | True if setting deceleration. |
float32_t | decelerationValue | decleration m/s^2 - represented as a positive number |
dwVehicleIOEgoFeedback | egomotionResult | |
bool | enable | True if we are driving by wire. Has to always be set. |
bool | fcwRequest | Request to activate FCW. |
dwVehicleIOFCWState | fcwState | FCW system status/state. |
float32_t | frontSteeringAngle | Desired front wheel steering angle (rad) |
bool | frontSteeringValid | True if setting front wheel steering. |
dwVehicleIOGear | gear | Desired gear: 0=UNKNOWN, 1=PARK, 2=REVERSE, 3=NEUTRAL, 4=DRIVE. |
bool | gearValid | True if setting gear. |
uint64_t | heartbeatCounter | VIO command heartbeat. |
bool | holdRequest | AEB Hold request (only valid if aebRequest or dbsRequest is true) |
bool | latAccelerationValid | True if setting lateral acceleration. |
float32_t | latAccelerationValue | lateral acceleration (m/s^2) |
float32_t | latCtrlCrossTrackError | Used for driver intervention (Lateral path tracking control error) |
float32_t | latCtrlCurvReqPred | The target curvature without feedback compensation. Can be used to represent the target curvature also at some brief period in the future.. |
dwVehicleIOLatCtrlInterventionDirectionELK | latCtrlInterventionDirectionELK | direction of the steering intervention, opposite to side of departure. |
dwVehicleIOLatCtrlInterventionDirectionLKA | latCtrlInterventionDirectionLKA | direction of the steering intervention, opposite to side of departure. |
uint8_t | latCtrlLaneChangePushingLaterally | This bit is set if lateral movement has started. |
bool | latCtrlReadyForCollaborativeSteering | Behavior Planner ready for control. |
dwVehicleIOLatMode | latMode | |
bool | latModeValid | True if setting lateral function. |
bool | lonAccelerationValid | True if setting longitudinal acceleration. |
float32_t | lonAccelerationValue | longitudinal acceleration (m/s^2) |
dwVehicleIOLonMode | lonMode | |
bool | lonModeValid | True if setting longitudinal function. |
float32_t | maxFrontSteeringSpeed | Maximum front wheel speed of the turning command (rad/s) |
float32_t | maxSpeed | Maximum allowed speed to support remaining distance request (m/s) |
bool | maxSpeedValid | True if setting speed request. |
float32_t | maxSteeringWheelSpeed | Maximum steering wheel speed of the turning command rad/s. |
bool | prefillRequest | Request to activate prefill. |
bool | rearAxleCurvatureValid | True if setting rear axle curvature. |
float32_t | rearAxleCurvatureValue | Path curvature request based on travelled distance (1/m) |
float32_t | rearSteeringAngle | Desired rear wheel steering angle (rad) |
bool | rearSteeringValid | True if setting rear wheel steering. |
float32_t | remainingDistance | Desired longitudinal offset from current position (m) |
bool | remainingDistanceValid | True if setting remaining distance. |
float32_t | steeringWheelAngle | Desired steering wheel angle (rad) |
float32_t | steeringWheelTorque |
Additional steering wheel torque request (Nm). Does not affect vehicle steering, rather to be used as feedback for the driver |
bool | steeringWheelTorqueValid | True if setting steering torque. |
bool | steeringWheelValid | True if setting steering wheel steering. |
bool | throttleValid | True if setting throttle. |
float32_t | throttleValue | range 0.0 to 1.0 |
dwTime_t | timestamp_us | Timestamp when dwVehicleIOCommand was assembled. |
dwVehicleIOTurnSignal | turnSig | Turn signal value. |
bool | turnSigValid | True if setting turn signal. |
struct dwVehicleIOEgoFeedback |
Data Fields | ||
---|---|---|
dwStateValueFloat | angularVelocity[3] | Rotation speed in body frame measured in [rad/s]. |
dwStateValueFloat | emAngularAccel[3] | Vehicle angular velocity aligned to body coordinate frame. |
dwStateValueFloat | emLinearVelocityStdev[3] | Vehicle linear velocity standard deviation aligned to body coordinate frame. |
dwStateValueFloat | emOrientation[3] | Vehicle orientation (integrated, as Euler angles, since t0). |
dwStateValueFloat | emOrientationStdev[3] | Vehicle orientation standard deviation (for each Euler angle). |
dwVehicleIOEmStandStill | emStandStill | Egomotion Stnadstill detected based on wheel ticks. |
dwTime_t | emTimestamp | Timestamp of egomotion signals. |
float64_t | emTranslation[3] | Vehicle translation (integrated, since t0) in [m]. |
dwStateValueFloat | linearAcceleration[3] | Linear acceleration measured in body frame in [m/s^2]. |
dwStateValueFloat | linearVelocity[3] | Linear velocity in body frame measured in [m/s] at the origin. |
struct dwVehicleIOMiscCommand |
Data Fields | ||
---|---|---|
float32_t | accSetSpeed | Current ACC Set Speed in m/s. |
dwVehicleIOBSMRequest | bsmAudioRequest | Request corresponding to the audio warning. |
dwVehicleIOBSMRequest | bsmLeftRequest | Request corresponding to the left visual warning. |
dwVehicleIOBSMRequest | bsmRightRequest | Request corresponding to the right visual warning. |
bool | clearFaults | |
bool | displayBrightnessValid | True if setting display brightness. |
uint8_t | displayBrightnessValue | |
dwVehicleIODoorLock | doorLock | basic lock or unlock |
bool | doorLockValid | True if setting door locks. |
bool | enable | |
dwVehicleIOHeadlights | headlights | ON/OFF, LOW_BEAM, HIGH_BEAM, DRL. |
bool | headlightsValid | True if setting headlights. |
dwVehicleIOLaneChangeFeedbackRequest | lcfRequest | Lane change info. |
float32_t | ldwSeverity | LDW Warning severity. |
dwVehicleIOLaneDepartureWarningSide | ldwSide | LDW Warning side of ego lane- left/right. |
dwVehicleIOLaneDepartureWarningState | ldwState | LDW Warning state- on/off. |
bool | longitudinalTOR | True if an immediate takeover is needed. |
bool | mirrorAdjustValid | True if setting mirror adjustment. |
float32_t | mirrorAdjustX | float value 0-5.0 seconds |
float32_t | mirrorAdjustY | float value 0-5.0 seconds |
bool | mirrorFoldValid | True if setting mirror un/fold. |
dwVehicleIOMirror | mirrors | FOLD, UNFOLD, ADJUST_LEFT, ADJUST_RIGHT. |
dwVehicleIOMoonroof | moonroof | basic open or close |
bool | moonroofValid | True if setting moonroof movement. |
dwTime_t | timestamp_us | Timestamp when dwVehicleIOMiscCommand was assembled. |
dwVehicleIOTurnSignal | turnSig | Turn signal - misc also wants this. |
bool | turnSigValid | True if setting turn signal. |
struct dwVehicleIONonSafetyCommand |
Data Fields | ||
---|---|---|
dwVioCameraFoldRequest | cameraFoldRequest[2] |
|
float32_t | emAngularAccel[3] |
|
float32_t | emAngularVelocity[3] |
|
uint8_t | emIntegrationHalted |
|
float32_t | emLinearAccel[3] |
|
float32_t | emLinearVelocity[3] |
|
float32_t | emLinearVelocityStdev[3] |
|
float32_t | emOrientation[3] |
|
float32_t | emOrientationStdev[3] |
|
float32_t | emSensorPosition[3] |
|
dwVioEmStandStill | emStandStill |
|
dwVioEmStatus | emStatus |
|
dwTime_t | emTimestamp |
|
float64_t | emTranslation[3] |
|
uint8_t | hazardFlasherRequest |
|
dwVioHeadlightRequest | headlightRequest |
|
dwVioMirrorFoldRequest | mirrorFoldRequest |
|
uint8_t | reserved[512] | |
dwTime_t | timestamp_us |
|
dwVioTurnSignalRequest | turnSignalRequest |
|
dwVehicleIONonSafetyCommandValidityInfo | validityInfo | |
float32_t | wiperFrontRequest |
|
float32_t | wiperFrontSecondaryRequest |
|
struct dwVehicleIONonSafetyCommandValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | cameraFoldRequest[2] | |
dwSignalValidity | emAngularAccel[3] | |
dwSignalValidity | emAngularVelocity[3] | |
dwSignalValidity | emIntegrationHalted | |
dwSignalValidity | emLinearAccel[3] | |
dwSignalValidity | emLinearVelocity[3] | |
dwSignalValidity | emLinearVelocityStdev[3] | |
dwSignalValidity | emOrientation[3] | |
dwSignalValidity | emOrientationStdev[3] | |
dwSignalValidity | emSensorPosition[3] | |
dwSignalValidity | emStandStill | |
dwSignalValidity | emStatus | |
dwSignalValidity | emTimestamp | |
dwSignalValidity | emTranslation[3] | |
dwSignalValidity | hazardFlasherRequest | |
dwSignalValidity | headlightRequest | |
dwSignalValidity | mirrorFoldRequest | |
dwSignalValidity | reserved[64] | |
dwSignalValidity | timestamp_us | |
dwSignalValidity | turnSignalRequest | |
dwSignalValidity | wiperFrontRequest | |
dwSignalValidity | wiperFrontSecondaryRequest |
struct dwVehicleIONonSafetyState |
Data Fields | ||
---|---|---|
dwVioAbsIntervention | absIntervention |
|
float32_t | axleDriverLoad |
|
float32_t | axleFrontLoad |
|
float32_t | axlePusherLoad |
|
float32_t | axleTrailerLoad |
|
dwVioBrakeAllWheelsABS | brakeAllWheelsABS |
|
dwVioBrakePedalStatus | brakePedalStatus |
|
dwVioBrakeStatus | brakeStatus |
|
float32_t | brakeTorque |
|
float32_t | brakeTorqueWheels[4] |
|
dwVioBrakeTorqueWheelsQuality | brakeTorqueWheelsQuality[4] |
|
dwVioBuckleStateDriver | buckleStateDriver |
|
dwVioBuckleStateFrontPassenger | buckleStateFrontPassenger |
|
dwVioCameraFoldState | cameraFoldState[2] |
|
dwVioLockState | doorFrontLeftState |
|
dwVioLockState | doorFrontRightState |
|
dwVioLockState | doorRearLeftState |
|
dwVioLockState | doorRearRightState |
|
dwVioDrivePositionStatus | drivePositionStatus |
|
dwVioDrivePositionTarget | drivePositionTarget |
|
float32_t | driverBrakePedal |
|
dwVioESCOperationalState | ESCOperationalState |
|
dwVioLockState | frontHoodState |
|
float32_t | frontSteeringAngle |
|
float32_t | frontSteeringAngleHigh |
|
float32_t | frontSteeringAngleOffset |
|
dwVioFrontSteeringAngleOffsetQuality | frontSteeringAngleOffsetQuality |
|
dwVioFrontSteeringAngleQuality | frontSteeringAngleQuality |
|
dwVioFrontSteeringAngleQualityHigh | frontSteeringAngleQualityHigh |
|
dwTime_t | frontSteeringTimestamp |
|
dwTime_t | frontSteeringTimestampHigh |
|
dwVioFrontSteeringTimestampQuality | frontSteeringTimestampQuality |
|
dwVioGearStatus | gearStatus |
|
dwVioGearTarget | gearTarget |
|
uint8_t | handsoffDetectedFiltered |
|
dwVioHazardFlasherStatus | hazardFlasherStatus |
|
dwVioHeadlightState | headlightState |
|
dwVioHoldStatus | holdStatus |
|
dwVioIgnitionStatus | ignitionStatus |
|
uint8_t | kickdownStatus |
|
float32_t | latCtrlCurvatureActual |
|
dwVioLightSensorFault | lightSensorFault |
|
uint8_t | lightSensorTwilight |
|
dwVioLongCtrlEcoAssistStatus | longCtrlEcoAssistStatus |
|
dwVioMicroSirenAvailable | microSirenAvailable |
|
uint8_t | microSirenConfidenceLevel |
|
dwVioMicroSirenDetected | microSirenDetected |
|
uint8_t | microSirenID |
|
dwVioMirrorFoldState | mirrorFoldState[2] |
|
float32_t | outsideTemperature |
|
dwVioOutsideTemperatureQuality | outsideTemperatureQuality |
|
uint8_t | rainLevel |
|
dwVioRainSensorFault | rainSensorFault |
|
dwVioLockState | rearTrunkState |
|
float32_t | rearWheelAngleMaximum |
|
float32_t | rearWheelAngleOffset |
|
dwVioRearWheelAngleOffsetQuality | rearWheelAngleOffsetQuality |
|
dwVioRearWheelAngleTimestampQuality | rearWheelAngleTimestampQuality |
|
uint8_t | reserved[512] | |
dwVioSpeedDirectionESC | speedDirectionESC |
|
float32_t | speedESC |
|
dwTime_t | speedESCTimestamp |
|
float32_t | speedIndicated |
|
float32_t | speedMax |
|
float32_t | speedMin |
|
dwVioSpeedQualityESC | speedQualityESC |
|
float32_t | suspensionLevel[4] |
|
dwVioSuspensionLevelCalibrationState | suspensionLevelCalibrationState |
|
dwVioSuspensionLevelQuality | suspensionLevelQuality |
|
dwTime_t | suspensionLevelTimestamp |
|
dwVioSuspensionLevelTimestampQuality | suspensionLevelTimestampQuality |
|
float32_t | throttleValue |
|
dwTime_t | timestamp_us |
|
float32_t | tirePressure[4] |
|
dwVioTirePressureMonitoringState | tirePressureMonitoringState |
|
dwVioTirePressureQuality | tirePressureQuality[4] |
|
dwTime_t | tirePressureStateTimestamp[4] |
|
uint8_t | tireSwitched[4] |
|
float32_t | trailerArticulationAngle |
|
dwVioTrailerConnected | trailerConnected |
|
dwVioTrailerHitchStatus | trailerHitchStatus |
|
float32_t | trailerMass |
|
dwVioTurnSignalStatus | turnSignalStatus |
|
dwVehicleIONonSafetyStateValidityInfo | validityInfo | |
dwVioVehicleStopped | vehicleStopped |
|
uint8_t | wetnessLevelFiltered |
|
uint8_t | wetnessLevelUnfiltered |
|
float32_t | wheelSpeed[4] |
|
float32_t | wheelSpeedHigh[4] |
|
dwVioWheelSpeedQuality | wheelSpeedQuality[4] |
|
dwVioWheelSpeedQualityHigh | wheelSpeedQualityHigh[4] |
|
int16_t | wheelTicks[4] |
|
dwVioWheelTicksDirection | wheelTicksDirection[4] |
|
dwVioWheelTicksDirectionHigh | wheelTicksDirectionHigh[4] |
|
int16_t | wheelTicksHigh[4] |
|
dwVioWheelTicksQuality | wheelTicksQuality[4] |
|
dwTime_t | wheelTicksTimestamp[4] |
|
dwTime_t | wheelTicksTimestampHigh[4] |
|
dwVioWheelTicksTimestampQuality | wheelTicksTimestampQuality[4] |
|
dwVioWheelTicksTimestampQualityHigh | wheelTicksTimestampQualityHigh[4] |
|
float32_t | wheelTorque[4] |
|
dwVioWheelTorqueQuality | wheelTorqueQuality[4] |
|
dwTime_t | wheelTorqueTimestamps[4] |
|
dwVioWheelTorqueTimestampsQuality | wheelTorqueTimestampsQuality[4] |
|
float32_t | wiperFrontSecondaryStatus |
|
float32_t | wiperFrontStatus |
|
float32_t | wiperStatusRear |
|
struct dwVehicleIONonSafetyStateValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | absIntervention | |
dwSignalValidity | axleDriverLoad | |
dwSignalValidity | axleFrontLoad | |
dwSignalValidity | axlePusherLoad | |
dwSignalValidity | axleTrailerLoad | |
dwSignalValidity | brakeAllWheelsABS | |
dwSignalValidity | brakePedalStatus | |
dwSignalValidity | brakeStatus | |
dwSignalValidity | brakeTorque | |
dwSignalValidity | brakeTorqueWheels[4] | |
dwSignalValidity | brakeTorqueWheelsQuality[4] | |
dwSignalValidity | buckleStateDriver | |
dwSignalValidity | buckleStateFrontPassenger | |
dwSignalValidity | cameraFoldState[2] | |
dwSignalValidity | doorFrontLeftState | |
dwSignalValidity | doorFrontRightState | |
dwSignalValidity | doorRearLeftState | |
dwSignalValidity | doorRearRightState | |
dwSignalValidity | drivePositionStatus | |
dwSignalValidity | drivePositionTarget | |
dwSignalValidity | driverBrakePedal | |
dwSignalValidity | ESCOperationalState | |
dwSignalValidity | frontHoodState | |
dwSignalValidity | frontSteeringAngle | |
dwSignalValidity | frontSteeringAngleHigh | |
dwSignalValidity | frontSteeringAngleOffset | |
dwSignalValidity | frontSteeringAngleOffsetQuality | |
dwSignalValidity | frontSteeringAngleQuality | |
dwSignalValidity | frontSteeringAngleQualityHigh | |
dwSignalValidity | frontSteeringTimestamp | |
dwSignalValidity | frontSteeringTimestampHigh | |
dwSignalValidity | frontSteeringTimestampQuality | |
dwSignalValidity | gearStatus | |
dwSignalValidity | gearTarget | |
dwSignalValidity | handsoffDetectedFiltered | |
dwSignalValidity | hazardFlasherStatus | |
dwSignalValidity | headlightState | |
dwSignalValidity | holdStatus | |
dwSignalValidity | ignitionStatus | |
dwSignalValidity | kickdownStatus | |
dwSignalValidity | latCtrlCurvatureActual | |
dwSignalValidity | lightSensorFault | |
dwSignalValidity | lightSensorTwilight | |
dwSignalValidity | longCtrlEcoAssistStatus | |
dwSignalValidity | microSirenAvailable | |
dwSignalValidity | microSirenConfidenceLevel | |
dwSignalValidity | microSirenDetected | |
dwSignalValidity | microSirenID | |
dwSignalValidity | mirrorFoldState[2] | |
dwSignalValidity | outsideTemperature | |
dwSignalValidity | outsideTemperatureQuality | |
dwSignalValidity | rainLevel | |
dwSignalValidity | rainSensorFault | |
dwSignalValidity | rearTrunkState | |
dwSignalValidity | rearWheelAngleMaximum | |
dwSignalValidity | rearWheelAngleOffset | |
dwSignalValidity | rearWheelAngleOffsetQuality | |
dwSignalValidity | rearWheelAngleTimestampQuality | |
dwSignalValidity | reserved[64] | |
dwSignalValidity | speedDirectionESC | |
dwSignalValidity | speedESC | |
dwSignalValidity | speedESCTimestamp | |
dwSignalValidity | speedIndicated | |
dwSignalValidity | speedMax | |
dwSignalValidity | speedMin | |
dwSignalValidity | speedQualityESC | |
dwSignalValidity | suspensionLevel[4] | |
dwSignalValidity | suspensionLevelCalibrationState | |
dwSignalValidity | suspensionLevelQuality | |
dwSignalValidity | suspensionLevelTimestamp | |
dwSignalValidity | suspensionLevelTimestampQuality | |
dwSignalValidity | throttleValue | |
dwSignalValidity | timestamp_us | |
dwSignalValidity | tirePressure[4] | |
dwSignalValidity | tirePressureMonitoringState | |
dwSignalValidity | tirePressureQuality[4] | |
dwSignalValidity | tirePressureStateTimestamp[4] | |
dwSignalValidity | tireSwitched[4] | |
dwSignalValidity | trailerArticulationAngle | |
dwSignalValidity | trailerConnected | |
dwSignalValidity | trailerHitchStatus | |
dwSignalValidity | trailerMass | |
dwSignalValidity | turnSignalStatus | |
dwSignalValidity | vehicleStopped | |
dwSignalValidity | wetnessLevelFiltered | |
dwSignalValidity | wetnessLevelUnfiltered | |
dwSignalValidity | wheelSpeed[4] | |
dwSignalValidity | wheelSpeedHigh[4] | |
dwSignalValidity | wheelSpeedQuality[4] | |
dwSignalValidity | wheelSpeedQualityHigh[4] | |
dwSignalValidity | wheelTicks[4] | |
dwSignalValidity | wheelTicksDirection[4] | |
dwSignalValidity | wheelTicksDirectionHigh[4] | |
dwSignalValidity | wheelTicksHigh[4] | |
dwSignalValidity | wheelTicksQuality[4] | |
dwSignalValidity | wheelTicksTimestamp[4] | |
dwSignalValidity | wheelTicksTimestampHigh[4] | |
dwSignalValidity | wheelTicksTimestampQuality[4] | |
dwSignalValidity | wheelTicksTimestampQualityHigh[4] | |
dwSignalValidity | wheelTorque[4] | |
dwSignalValidity | wheelTorqueQuality[4] | |
dwSignalValidity | wheelTorqueTimestamps[4] | |
dwSignalValidity | wheelTorqueTimestampsQuality[4] | |
dwSignalValidity | wiperFrontSecondaryStatus | |
dwSignalValidity | wiperFrontStatus | |
dwSignalValidity | wiperStatusRear |
struct dwVehicleIOSafetyCommand |
Data Fields | ||
---|---|---|
float32_t | emAngularAccel[3] |
|
float32_t | emAngularVelocity[3] |
|
float32_t | emLinearAccel[3] |
|
float32_t | emLinearVelocity[3] |
|
float32_t | emLinearVelocityStdev[3] |
|
float32_t | emOrientation[3] |
|
float32_t | emOrientationStdev[3] |
|
float32_t | emSensorPosition[3] |
|
dwVioEmStandStill | emStandStill |
|
dwVioEmStatus | emStatus |
|
dwTime_t | emTimestamp |
|
float64_t | emTranslation[3] |
|
uint8_t | latCtrlActivationRequest |
|
dwVioLatCtrlASILStatus | latCtrlASILStatus |
|
float32_t | latCtrlCrossTrackError |
|
float32_t | latCtrlCurvReqAdditional |
|
uint8_t | latCtrlCurvReqAdditionalActive |
|
uint8_t | latCtrlCurvReqAdditionalPrefill |
|
float32_t | latCtrlCurvReqPred |
|
float32_t | latCtrlCurvRequest |
|
float32_t | latCtrlFrontWheelAngleRequest |
|
uint8_t | latCtrlHapticWarningRequest |
|
dwVioLatCtrlInterventionDirectionELK | latCtrlInterventionDirectionELK |
|
dwVioLatCtrlInterventionDirectionLKA | latCtrlInterventionDirectionLKA |
|
uint8_t | latCtrlLaneChangePushingLaterally |
|
dwVioLatCtrlModeRequest | latCtrlModeRequest |
|
uint8_t | latCtrlReadyForCollaborativeSteering |
|
float32_t | latCtrlRearWheelAngleRequest |
|
dwVioLatCtrlReferenceInputSelect | latCtrlReferenceInputSelect |
|
float32_t | latCtrlSteeringWheelAngleRateMax |
|
float32_t | latCtrlSteeringWheelAngleRequest |
|
dwVioLonCtrlSafetyLimRequest | lonCtrlSafetyLimRequest |
|
dwVioLongCtrGearCommand | longCtrGearCommand |
|
dwVioLongCtrlAccelPerfRequest | longCtrlAccelPerfRequest |
|
float32_t | longCtrlAccelRequest |
|
uint8_t | longCtrlActivationRequest |
|
float32_t | longCtrlBrakePedalRequest |
|
uint8_t | longCtrlBrakePrefillRequest |
|
uint8_t | longCtrlHapticWarningRequest |
|
dwVioLongCtrlHapticWarningTargetType | longCtrlHapticWarningTargetType |
|
dwVioLongCtrlHoldRequest | longCtrlHoldRequest |
|
dwVioLongCtrlInteractionModeRequest | longCtrlInteractionModeRequest |
|
float32_t | longCtrlMaxSpeedRequest |
|
uint8_t | longCtrlRedundCheckRequest |
|
dwVioLongCtrlReferenceInputRequest | longCtrlReferenceInputRequest |
|
float32_t | longCtrlRemainingDistance |
|
float32_t | longCtrlThrottlePedalRequest |
|
uint8_t | reserved[512] | |
dwTime_t | timestamp_us |
|
dwVehicleIOSafetyCommandValidityInfo | validityInfo |
struct dwVehicleIOSafetyCommandValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | emAngularAccel[3] | |
dwSignalValidity | emAngularVelocity[3] | |
dwSignalValidity | emLinearAccel[3] | |
dwSignalValidity | emLinearVelocity[3] | |
dwSignalValidity | emLinearVelocityStdev[3] | |
dwSignalValidity | emOrientation[3] | |
dwSignalValidity | emOrientationStdev[3] | |
dwSignalValidity | emSensorPosition[3] | |
dwSignalValidity | emStandStill | |
dwSignalValidity | emStatus | |
dwSignalValidity | emTimestamp | |
dwSignalValidity | emTranslation[3] | |
dwSignalValidity | latCtrlActivationRequest | |
dwSignalValidity | latCtrlASILStatus | |
dwSignalValidity | latCtrlCrossTrackError | |
dwSignalValidity | latCtrlCurvReqAdditional | |
dwSignalValidity | latCtrlCurvReqAdditionalActive | |
dwSignalValidity | latCtrlCurvReqAdditionalPrefill | |
dwSignalValidity | latCtrlCurvReqPred | |
dwSignalValidity | latCtrlCurvRequest | |
dwSignalValidity | latCtrlFrontWheelAngleRequest | |
dwSignalValidity | latCtrlHapticWarningRequest | |
dwSignalValidity | latCtrlInterventionDirectionELK | |
dwSignalValidity | latCtrlInterventionDirectionLKA | |
dwSignalValidity | latCtrlLaneChangePushingLaterally | |
dwSignalValidity | latCtrlModeRequest | |
dwSignalValidity | latCtrlReadyForCollaborativeSteering | |
dwSignalValidity | latCtrlRearWheelAngleRequest | |
dwSignalValidity | latCtrlReferenceInputSelect | |
dwSignalValidity | latCtrlSteeringWheelAngleRateMax | |
dwSignalValidity | latCtrlSteeringWheelAngleRequest | |
dwSignalValidity | lonCtrlSafetyLimRequest | |
dwSignalValidity | longCtrGearCommand | |
dwSignalValidity | longCtrlAccelPerfRequest | |
dwSignalValidity | longCtrlAccelRequest | |
dwSignalValidity | longCtrlActivationRequest | |
dwSignalValidity | longCtrlBrakePedalRequest | |
dwSignalValidity | longCtrlBrakePrefillRequest | |
dwSignalValidity | longCtrlHapticWarningRequest | |
dwSignalValidity | longCtrlHapticWarningTargetType | |
dwSignalValidity | longCtrlHoldRequest | |
dwSignalValidity | longCtrlInteractionModeRequest | |
dwSignalValidity | longCtrlMaxSpeedRequest | |
dwSignalValidity | longCtrlRedundCheckRequest | |
dwSignalValidity | longCtrlReferenceInputRequest | |
dwSignalValidity | longCtrlRemainingDistance | |
dwSignalValidity | longCtrlThrottlePedalRequest | |
dwSignalValidity | reserved[64] | |
dwSignalValidity | timestamp_us |
struct dwVehicleIOSafetyState |
Data Fields | ||
---|---|---|
float32_t | rearWheelAngle |
|
float32_t | rearWheelAngleFactor |
|
dwVioRearWheelAngleQuality | rearWheelAngleQuality |
|
dwTime_t | rearWheelAngleTimestamp |
|
uint8_t | reserved[512] | |
float32_t | steeringWheelAngle |
|
dwVioSteeringWheelAngleQuality | steeringWheelAngleQuality |
|
dwTime_t | timestamp_us |
|
dwVehicleIOSafetyStateValidityInfo | validityInfo |
struct dwVehicleIOSafetyStateValidityInfo |
Data Fields | ||
---|---|---|
dwSignalValidity | rearWheelAngle | |
dwSignalValidity | rearWheelAngleFactor | |
dwSignalValidity | rearWheelAngleQuality | |
dwSignalValidity | rearWheelAngleTimestamp | |
dwSignalValidity | reserved[64] | |
dwSignalValidity | steeringWheelAngle | |
dwSignalValidity | steeringWheelAngleQuality | |
dwSignalValidity | timestamp_us |
struct dwVehicleIOState |
Data Fields | ||
---|---|---|
dwVehicleIOAbsIntervention | absIntervention | ABS/ESP Status. |
dwVector2f | acceleration | Actual acceleration measured in m/s^2. |
dwTime_t | accelerationTimestamp | Time at which acceleration was updated. |
dwVehicleIOAxleStatus | axles | |
bool | brakeActive | True if braking system is actively applying brakes. |
float32_t | brakeCmd | Last acknowledged brake value from a command (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
bool | brakeEnabled | Brake by-wire enablement reported by vehicle. |
bool | brakePedalPressed | True if the brake pedal has been pressed (note that the brake system can be active without a pedal press) |
float32_t | brakeState | Brake value in effect (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
dwTime_t | brakeTimestamp | Time at which brake was updated. |
float32_t | brakeTorqueActual | Actual applied brake torque value (Nm) |
float32_t | brakeTorqueDriver | Brake torque requested by driver via physical pedal (Nm) |
float32_t | brakeTorqueRequested | Requested value of brake torque (Nm) |
float32_t | brakeValue | Current brake value as requested by a driver (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
bool | buckleDriver | |
bool | bucklePassenger | |
bool | buttonCruiseControlCancel | |
bool | buttonCruiseControlDecrement | |
bool | buttonCruiseControlGapDecrement | |
bool | buttonCruiseControlGapIncrement | |
bool | buttonCruiseControlIncrement | |
bool | buttonCruiseControlOnOff | |
bool | buttonCruiseControlReset | |
bool | buttonCruiseControlResetCancel | |
bool | buttonLaneAssistOnOff | |
bool | buttonLeftKeypadDown | |
bool | buttonLeftKeypadOk | |
bool | buttonLeftKeypadUp | |
bool | buttonTimeGapCycle | |
dwVehicleIOCapabilityState | capability | Rear wheel angle on road. |
bool | doorDriver | |
bool | doorHood | |
bool | doorPassenger | |
bool | doorRearLeft | |
bool | doorRearRight | |
bool | doorTrunk | |
dwVehicleIODrivePositionTarget | drivePositionTarget | Drive Position that will be shifted to (PRND). |
dwVehicleIODrivingMode | drivingMode | |
dwVehicleIOLongCtrlEcoAssistStatus | ecoAssistStatus | |
bool | enabled | |
float32_t | engineSpeed | engine rpm speed [RPM] |
dwTime_t | engineSpeedTimestamp | engine speed timestamp[us] |
dwVehicleIOESCOperationalState | ESCOperationalState | ESC Operational State. |
uint32_t | faults | Faults detected (0 = none). Flags defined in dwVehicleIOFaults. |
float32_t | frontSteeringAngle | Same as inverseSteeringR described as an angle instead of radius [rad]. |
float32_t | frontSteeringAngleCmd | Last acknowledged front steering value from a command (-1.0 to 1.0 +- 0.01rad) |
dwVehicleIOFrontSteeringAngleQuality | frontSteeringAngleQuality | Current front axle angle status. |
float32_t | fuelLevel | (0 to 1 +- 0.01 fraction of tank volume, unitless) |
dwVehicleIOGear | gear | Vehicle gear. |
dwVehicleIOGear | gearCmd | Last acknowledged gear from a command. |
bool | handsOnWheel | |
bool | highBeamHeadlights | |
dwVehicleIOHoldStatus | holdStatus | Parking brake / hold state report. |
dwVehicleIOIgnitionStatus | ignitionStatus | Status of vehicle ignition. |
float32_t | inverseSteeringR |
Inverse turning radius of the vehicle on the road. The radius depends on the vehicle wheel base, steering wheel angle, drivetrain properties and current speed. |
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. Communicated as a vector. |
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 mode. Communicated as a vector. |
dwVehicleIOLatCtrlLoopStatus | latCtrlLoopStatus | lateral control loop state |
dwVehicleIOLatMode | latMode | |
dwVehicleIOLonMode | lonMode | |
dwStateValueFloat | mass | Total mass of vehicle [kg]. |
dwVehicleIOMirrorFoldState | mirrorFoldState[2] | 0 - corresponds to the left mirror and 1 - to the right one. |
dwStateValueFloat | outsideTemperature | outside temperature [degrees C] |
uint32_t | overrides | Overrides in place (0 = none). Flags defined in dwVehicleIOOverrides. |
bool | passengerAirbag | |
bool | passengerDetect | |
dwVector2f | radarVelocity | Reported velocity from radar unit(s) |
dwTime_t | radarVelocityTimestamp | |
float32_t | rearAxleCurvature | Path curvature [1/m]. |
dwTime_t | rearAxleCurvatureTimestamp | Timestamp for all motion signals. |
dwStateValueFloat | rearWheelAngle | |
float32_t | speed | Signed norm of velocity vector. |
dwVehicleIOSpeedDirectionESC | speedDirectionESC | ESC Longitudinal Speed Direction. |
float32_t | speedMax | Higher bound of vehicle velocity in the longitudinal direction as measured by ESP. |
float32_t | speedMin | Lower bound of vehicle velocity in the longitudinal direction as measured by ESP. |
dwVehicleIOSignalQuality | speedQuality | Speed and velocity signal quality (legacy, protobuf backward compatible) |
dwTime_t | speedTimestamp | Time at which speed was updated. |
bool | steeringEnabled | Steering by-wire enablement reported by vehicle. |
dwTime_t | steeringTimestamp | Time at which steering was updated. |
float32_t | steeringWheelAngle | Steering wheel angle (-10.0 to 10.0 +- 0.01rad) |
float32_t | steeringWheelAngleCmd | Last acknowledged steering wheel value from a command (-10.0 to 10.0 +- 0.01rad) |
float32_t | steeringWheelTorque | Steering wheel torque (0 to 10.0 +- 0.01 Nm) |
float32_t | suspension[DW_VEHICLE_NUM_WHEELS] | Vehicle Suspension data, levels relative to a calibration instant [m]. |
dwTime_t | suspensionTimestamp[DW_VEHICLE_NUM_WHEELS] | Vehicle timestamps of Suspension data. |
float32_t | throttleCmd | Last acknowledged throttle value from a command (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
bool | throttleEnabled | Throttle by-wire enablement reported by vehicle. |
float32_t | throttleState | Throttle value in effect (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
dwTime_t | throttleTimestamp | Time at which throttle was updated. |
float32_t | throttleValue | Current thottle value as requested by a driver (0..1 +- 0.01 fraction of max pedal depressed, unitless) |
dwTime_t | timestamp_us | Timestamp when dwVehicleIOState was assembled. |
float32_t | tirePressure[DW_VEHICLE_NUM_WHEELS] | Vehicle tire pressure data. |
dwVehicleIOTirePressureMonitoringState | tirePressureMonitoringState | Tire Pressure Monitoring System Status. |
dwVehicleIOTrailerState | trailer | |
dwVehicleIOTurnSignal | turnSignal | Turn signal value. |
dwVehicleIOVehicleStopped | vehicleStopped | Vehicle in Standstill as detected by ESC. |
dwVector2f | velocity | Vehicle velocity (longitudinal, lateral) measured in m/s at the rear axle. |
int16_t | wheelPosition[DW_VEHICLE_NUM_WHEELS] |
Vehicle Wheel Position counters. The counters are subject to roll-over. Actual wheel travel distance depends on wheel radius, which requires calibration. |
dwTime_t | wheelPositionTimestamp[DW_VEHICLE_NUM_WHEELS] | individual timestamps of wheel position readings |
float32_t | wheelSpeed[DW_VEHICLE_NUM_WHEELS] | vehicle individual wheel speeds (rad/s) |
dwTime_t | wheelSpeedTimestamp[DW_VEHICLE_NUM_WHEELS] | vehicle individual timestamps of wheel speeds readings |
dwVehicleIOWheelTicksDirection | wheelTicksDirection[DW_VEHICLE_NUM_WHEELS] | Wheel rotation direction. |
bool | wiper |
struct dwVehicleIOTrailerState |
Data Fields | ||
---|---|---|
dwStateValueFloat | articulationAngle |
Yaw articulation angle between truck and trailer measured at rear axle [rad] Angle measured as described by ISO8855. For example, 0 when driving in line, positive when turning left. |
dwVehicleIOTrailerConnectedStatus | connected | |
dwStateValueFloat | mass | Total mass of trailer unit [kg]. |
#define DW_VEHICLEIO_LOW_SPEED_THRESHOLD 4 |
Definition at line 818 of file VehicleIOLegacyStructures.h.
#define DW_VEHICLEIO_NUM_LAT_CTRL_CURV_CAP 10 |
Definition at line 671 of file VehicleIOLegacyStructures.h.
#define DW_VEHICLEIO_SPEED_LUT_MAX_ENTRIES 50 |
Definition at line 817 of file VehicleIOLegacyStructures.h.
typedef uint32_t bitmask |
Definition at line 61 of file VehicleIOValStructures.h.
typedef struct dwVehicleIOObject* dwVehicleIOHandle_t |
Definition at line 66 of file VehicleIO.h.
typedef struct dwVehicleIOObject* dwVehicleIOHandle_t |
Definition at line 58 of file VehicleIOLegacyStructures.h.
Definition at line 324 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOAEBState |
Enumerator | |
---|---|
DW_VEHICLEIO_AEB_STATE_UNKNOWN | |
DW_VEHICLEIO_AEB_STATE_OFF | |
DW_VEHICLEIO_AEB_STATE_READY |
Definition at line 181 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_BSM_REQUEST_UNKNOWN | |
DW_VEHICLEIO_BSM_REQUEST_NONE | |
DW_VEHICLEIO_BSM_REQUEST_CONTINUOUS | |
DW_VEHICLEIO_BSM_REQUEST_FLASHING |
Definition at line 202 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_CDW_REQUEST_NONE | |
DW_VEHICLEIO_CDW_REQUEST_LEVEL_1 | |
DW_VEHICLEIO_CDW_REQUEST_LEVEL_2 |
Definition at line 195 of file VehicleIOLegacyStructures.h.
enum dwVehicleIODoorLock |
Enumerator | |
---|---|
DW_VEHICLEIO_DOOR_UNKNOWN | |
DW_VEHICLEIO_DOOR_UNLOCK | |
DW_VEHICLEIO_DOOR_LOCK |
Definition at line 139 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_DRIVE_POSITION_TARGET_D | D. |
DW_VEHICLEIO_DRIVE_POSITION_TARGET_N | N. |
DW_VEHICLEIO_DRIVE_POSITION_TARGET_R | R. |
DW_VEHICLEIO_DRIVE_POSITION_TARGET_P | P. |
Definition at line 347 of file VehicleIOLegacyStructures.h.
Definition at line 60 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_EM_STAND_STILL_FALSE | Vehicle moving. |
DW_VEHICLEIO_EM_STAND_STILL_TRUE | Vehicle not moving. |
DW_VEHICLEIO_EM_STAND_STILL_UNKNOWN | Schroedingers Vehicle Motion. |
Definition at line 381 of file VehicleIOLegacyStructures.h.
Definition at line 301 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOFaults |
Enumerator | |
---|---|
DW_VEHICLEIO_FAULT_NONE | |
DW_VEHICLEIO_FAULT_BRAKE | |
DW_VEHICLEIO_FAULT_STEERING | |
DW_VEHICLEIO_FAULT_THROTTLE | |
DW_VEHICLEIO_FAULT_GEAR | |
DW_VEHICLEIO_FAULT_SAFETY | |
DW_VEHICLEIO_FAULT_MAX |
Definition at line 88 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOFCWState |
Enumerator | |
---|---|
DW_VEHICLEIO_FCW_STATE_UNKNOWN | |
DW_VEHICLEIO_FCW_STATE_OFF | |
DW_VEHICLEIO_FCW_STATE_READY |
Definition at line 188 of file VehicleIOLegacyStructures.h.
Definition at line 647 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOGear |
Definition at line 108 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_HEADLIGHTS_UNKNOWN | |
DW_VEHICLEIO_HEADLIGHTS_OFF | |
DW_VEHICLEIO_HEADLIGHTS_LOW_BEAM | |
DW_VEHICLEIO_HEADLIGHTS_HIGH_BEAM | |
DW_VEHICLEIO_HEADLIGHTS_DRL |
Definition at line 172 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_HOLD_STATUS_UNKNOWN | Unknown. |
DW_VEHICLEIO_HOLD_STATUS_NOHOLD | No Hold. |
DW_VEHICLEIO_HOLD_STATUS_HOLD | Hold. |
DW_VEHICLEIO_HOLD_STATUS_TRANSITION | Transition. |
Definition at line 640 of file VehicleIOLegacyStructures.h.
Definition at line 288 of file VehicleIOLegacyStructures.h.
Definition at line 209 of file VehicleIOLegacyStructures.h.
Driveworks LDW sides with respect to the ego lane.
Definition at line 538 of file VehicleIOLegacyStructures.h.
Driveworks Lane Departure Warning (LDW) activation states.
Definition at line 528 of file VehicleIOLegacyStructures.h.
Definition at line 398 of file VehicleIOLegacyStructures.h.
Definition at line 390 of file VehicleIOLegacyStructures.h.
Definition at line 624 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_LATERAL_ACTUATOR_UNKNOWN | |
DW_VEHICLEIO_LATERAL_STEERING_WHEEL_ANGLE | |
DW_VEHICLEIO_LATERAL_FRONT_WHEEL_ANGLE | |
DW_VEHICLEIO_LATERAL_CURVATURE |
Definition at line 220 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOLatMode |
Definition at line 229 of file VehicleIOLegacyStructures.h.
Definition at line 660 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOLonMode |
Definition at line 242 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOMirror |
Enumerator | |
---|---|
DW_VEHICLEIO_MIRROR_UNKNOWN | |
DW_VEHICLEIO_MIRROR_FOLD | |
DW_VEHICLEIO_MIRROR_UNFOLD | |
DW_VEHICLEIO_MIRROR_ADJUST_LEFT | |
DW_VEHICLEIO_MIRROR_ADJUST_RIGHT |
Definition at line 151 of file VehicleIOLegacyStructures.h.
Definition at line 159 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOMoonroof |
Enumerator | |
---|---|
DW_VEHICLEIO_MOONROOF_UNKNOWN | |
DW_VEHICLEIO_MOONROOF_CLOSE | |
DW_VEHICLEIO_MOONROOF_OPEN |
Definition at line 145 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOOverrides |
Enumerator | |
---|---|
DW_VEHICLEIO_OVERRIDE_NONE | |
DW_VEHICLEIO_OVERRIDE_BRAKE | |
DW_VEHICLEIO_OVERRIDE_STEERING | |
DW_VEHICLEIO_OVERRIDE_THROTTLE | |
DW_VEHICLEIO_OVERRIDE_GEAR | |
DW_VEHICLEIO_OVERRIDE_MAX |
Definition at line 98 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_SIGNAL_QUALITY_NOT_OK | |
DW_VEHICLEIO_SIGNAL_QUALITY_OK |
Definition at line 261 of file VehicleIOLegacyStructures.h.
Definition at line 266 of file VehicleIOLegacyStructures.h.
Definition at line 275 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_TRAILER_CONNECTED_UNKNOWN | |
DW_VEHICLEIO_TRAILER_CONNECTED_NO | |
DW_VEHICLEIO_TRAILER_CONNECTED_YES | |
DW_VEHICLEIO_TRAILER_CONNECTED_ERROR |
Definition at line 253 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_TURNSIGNAL_UNKNOWN | |
DW_VEHICLEIO_TURNSIGNAL_OFF | |
DW_VEHICLEIO_TURNSIGNAL_LEFT | |
DW_VEHICLEIO_TURNSIGNAL_RIGHT | |
DW_VEHICLEIO_TURNSIGNAL_EMERGENCY |
Definition at line 131 of file VehicleIOLegacyStructures.h.
enum dwVehicleIOType |
Enumerator | |
---|---|
DW_VEHICLEIO_DATASPEED | |
DW_VEHICLEIO_GENERIC | |
DW_VEHICLEIO_CUSTOM | |
DW_VEHICLEIO_DRIVER_COUNT |
Definition at line 81 of file VehicleIOLegacyStructures.h.
Enumerator | |
---|---|
DW_VEHICLEIO_VEHICLE_STOPPED_UNKNOWN | Vehicle not moving. |
DW_VEHICLEIO_VEHICLE_STOPPED_FALSE | Vehicle moving. |
DW_VEHICLEIO_VEHICLE_STOPPED_TRUE | Schroedingers Vehicle Motion. |
Definition at line 631 of file VehicleIOLegacyStructures.h.
Wheel rotation direction.
Definition at line 361 of file VehicleIOLegacyStructures.h.
enum dwVioAbsIntervention |
Definition at line 1038 of file VehicleIOValStructures.h.
Definition at line 938 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_BRAKE_PEDAL_STATUS_UPSTOP | Pedal upstopped. |
DW_VIO_BRAKE_PEDAL_STATUS_PSD | Pedal pressed. |
DW_VIO_BRAKE_PEDAL_STATUS_NDEF2 | not defined |
DW_VIO_BRAKE_PEDAL_STATUS_FORCE32 |
Definition at line 497 of file VehicleIOValStructures.h.
enum dwVioBrakeStatus |
Enumerator | |
---|---|
DW_VIO_BRAKE_STATUS_NO_BRAKING | No Braking. |
DW_VIO_BRAKE_STATUS_BRAKING | Braking. |
DW_VIO_BRAKE_STATUS_UNKNOWN | unknown status |
DW_VIO_BRAKE_STATUS_FORCE32 |
Definition at line 927 of file VehicleIOValStructures.h.
Definition at line 914 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_BUCKLE_STATE_DRIVER_CLOSED | buckle closed |
DW_VIO_BUCKLE_STATE_DRIVER_OPEN | buckle opened |
DW_VIO_BUCKLE_STATE_DRIVER_UNKNOWN | state not known |
DW_VIO_BUCKLE_STATE_DRIVER_FORCE32 |
Definition at line 764 of file VehicleIOValStructures.h.
Definition at line 775 of file VehicleIOValStructures.h.
Definition at line 1093 of file VehicleIOValStructures.h.
enum dwVioCameraFoldState |
Definition at line 1078 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_DRIVE_POSITION_STATUS_D | D. |
DW_VIO_DRIVE_POSITION_STATUS_N | N. |
DW_VIO_DRIVE_POSITION_STATUS_R | R. |
DW_VIO_DRIVE_POSITION_STATUS_P | P. |
DW_VIO_DRIVE_POSITION_STATUS_FORCE32 |
Definition at line 168 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_DRIVE_POSITION_TARGET_D | D. |
DW_VIO_DRIVE_POSITION_TARGET_N | N. |
DW_VIO_DRIVE_POSITION_TARGET_R | R. |
DW_VIO_DRIVE_POSITION_TARGET_P | P. |
DW_VIO_DRIVE_POSITION_TARGET_FORCE32 |
Definition at line 181 of file VehicleIOValStructures.h.
Definition at line 1252 of file VehicleIOValStructures.h.
Definition at line 202 of file VehicleIOValStructures.h.
enum dwVioEmStandStill |
Enumerator | |
---|---|
DW_VIO_EM_STAND_STILL_FALSE | Vehicle moving. |
DW_VIO_EM_STAND_STILL_TRUE | Vehicle not moving. |
DW_VIO_EM_STAND_STILL_UNKNOWN | Schroedingers Vehicle Motion. |
DW_VIO_EM_STAND_STILL_FORCE32 |
Definition at line 1150 of file VehicleIOValStructures.h.
enum dwVioEmStatus |
Definition at line 1137 of file VehicleIOValStructures.h.
Definition at line 671 of file VehicleIOValStructures.h.
Definition at line 1351 of file VehicleIOValStructures.h.
Definition at line 975 of file VehicleIOValStructures.h.
Definition at line 960 of file VehicleIOValStructures.h.
Definition at line 1235 of file VehicleIOValStructures.h.
Definition at line 988 of file VehicleIOValStructures.h.
enum dwVioGearStatus |
Definition at line 102 of file VehicleIOValStructures.h.
enum dwVioGearTarget |
Definition at line 135 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_HAZARD_FLASHER_STATUS_OFF | |
DW_VIO_HAZARD_FLASHER_STATUS_ON | |
DW_VIO_HAZARD_FLASHER_STATUS_UNKNOWN | |
DW_VIO_HAZARD_FLASHER_STATUS_FORCE32 |
Definition at line 194 of file VehicleIOValStructures.h.
Definition at line 351 of file VehicleIOValStructures.h.
enum dwVioHeadlightState |
Definition at line 696 of file VehicleIOValStructures.h.
enum dwVioHoldStatus |
Enumerator | |
---|---|
DW_VIO_HOLD_STATUS_UNKNOWN | Unknown. |
DW_VIO_HOLD_STATUS_NOHOLD | No Hold. |
DW_VIO_HOLD_STATUS_HOLD | Hold. |
DW_VIO_HOLD_STATUS_TRANSITION | Transition. |
DW_VIO_HOLD_STATUS_FORCE32 |
Definition at line 89 of file VehicleIOValStructures.h.
enum dwVioIgnitionStatus |
Definition at line 803 of file VehicleIOValStructures.h.
Definition at line 241 of file VehicleIOValStructures.h.
Definition at line 377 of file VehicleIOValStructures.h.
Definition at line 616 of file VehicleIOValStructures.h.
Definition at line 271 of file VehicleIOValStructures.h.
Definition at line 641 of file VehicleIOValStructures.h.
Definition at line 261 of file VehicleIOValStructures.h.
Definition at line 251 of file VehicleIOValStructures.h.
Definition at line 284 of file VehicleIOValStructures.h.
Definition at line 597 of file VehicleIOValStructures.h.
Definition at line 544 of file VehicleIOValStructures.h.
Definition at line 578 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_LAT_CTRL_REFERENCE_INPUT_SELECT_CURVATURE | |
DW_VIO_LAT_CTRL_REFERENCE_INPUT_SELECT_STEERINGANGLE | |
DW_VIO_LAT_CTRL_REFERENCE_INPUT_SELECT_FORCE32 |
Definition at line 234 of file VehicleIOValStructures.h.
enum dwVioLatCtrlStatus |
Enumerator | |
---|---|
DW_VIO_LAT_CTRL_STATUS_INIT | |
DW_VIO_LAT_CTRL_STATUS_IDLE | |
DW_VIO_LAT_CTRL_STATUS_CTRL | |
DW_VIO_LAT_CTRL_STATUS_TERMINATED | |
DW_VIO_LAT_CTRL_STATUS_ERROR | |
DW_VIO_LAT_CTRL_STATUS_FORCE32 |
Definition at line 534 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_LIGHT_SENSOR_FAULT_UNKNOWN | no info |
DW_VIO_LIGHT_SENSOR_FAULT_FALSE | False. |
DW_VIO_LIGHT_SENSOR_FAULT_TRUE | True. |
DW_VIO_LIGHT_SENSOR_FAULT_FORCE32 |
Definition at line 731 of file VehicleIOValStructures.h.
enum dwVioLockState |
Definition at line 63 of file VehicleIOValStructures.h.
Definition at line 564 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_LONG_CTR_GEAR_COMMAND_IDLE | default |
DW_VIO_LONG_CTR_GEAR_COMMAND_D | |
DW_VIO_LONG_CTR_GEAR_COMMAND_R | |
DW_VIO_LONG_CTR_GEAR_COMMAND_P | |
DW_VIO_LONG_CTR_GEAR_COMMAND_FORCE32 |
Definition at line 297 of file VehicleIOValStructures.h.
Definition at line 459 of file VehicleIOValStructures.h.
Definition at line 474 of file VehicleIOValStructures.h.
Definition at line 447 of file VehicleIOValStructures.h.
Definition at line 521 of file VehicleIOValStructures.h.
Definition at line 508 of file VehicleIOValStructures.h.
Definition at line 427 of file VehicleIOValStructures.h.
Definition at line 331 of file VehicleIOValStructures.h.
Definition at line 223 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_LONG_CTRL_HOLD_REQUEST_NOMON_FLWUP | |
DW_VIO_LONG_CTRL_HOLD_REQUEST_SSCMON_STNDSTILL_SEC | |
DW_VIO_LONG_CTRL_HOLD_REQUEST_SSC_SEC_RQ | |
DW_VIO_LONG_CTRL_HOLD_REQUEST_FORCE32 |
Definition at line 419 of file VehicleIOValStructures.h.
Definition at line 402 of file VehicleIOValStructures.h.
Definition at line 307 of file VehicleIOValStructures.h.
Definition at line 318 of file VehicleIOValStructures.h.
enum dwVioLongCtrlStatus |
Definition at line 390 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_MICRO_SIREN_AVAILABLE_UNKNOWN | no info |
DW_VIO_MICRO_SIREN_AVAILABLE_FALSE | False. |
DW_VIO_MICRO_SIREN_AVAILABLE_TRUE | True. |
DW_VIO_MICRO_SIREN_AVAILABLE_FORCE32 |
Definition at line 753 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_MICRO_SIREN_DETECTED_UNKNOWN | no info |
DW_VIO_MICRO_SIREN_DETECTED_FALSE | False. |
DW_VIO_MICRO_SIREN_DETECTED_TRUE | True. |
DW_VIO_MICRO_SIREN_DETECTED_FORCE32 |
Definition at line 742 of file VehicleIOValStructures.h.
Definition at line 340 of file VehicleIOValStructures.h.
enum dwVioMirrorFoldState |
Definition at line 1063 of file VehicleIOValStructures.h.
Definition at line 707 of file VehicleIOValStructures.h.
enum dwVioRainSensorFault |
Enumerator | |
---|---|
DW_VIO_RAIN_SENSOR_FAULT_UNKNOWN | no info |
DW_VIO_RAIN_SENSOR_FAULT_FALSE | False. |
DW_VIO_RAIN_SENSOR_FAULT_TRUE | True. |
DW_VIO_RAIN_SENSOR_FAULT_FORCE32 |
Definition at line 720 of file VehicleIOValStructures.h.
Definition at line 1014 of file VehicleIOValStructures.h.
Definition at line 999 of file VehicleIOValStructures.h.
Definition at line 1027 of file VehicleIOValStructures.h.
Definition at line 818 of file VehicleIOValStructures.h.
enum dwVioSpeedQualityESC |
Definition at line 829 of file VehicleIOValStructures.h.
Definition at line 1278 of file VehicleIOValStructures.h.
Definition at line 1326 of file VehicleIOValStructures.h.
Definition at line 1299 of file VehicleIOValStructures.h.
Definition at line 1267 of file VehicleIOValStructures.h.
Definition at line 76 of file VehicleIOValStructures.h.
Enumerator | |
---|---|
DW_VIO_SUSPENSION_LEVEL_CALIBRATION_STATE_FALSE | False. |
DW_VIO_SUSPENSION_LEVEL_CALIBRATION_STATE_TRUE | True. |
DW_VIO_SUSPENSION_LEVEL_CALIBRATION_STATE_FORCE32 |
Definition at line 1128 of file VehicleIOValStructures.h.
Definition at line 1104 of file VehicleIOValStructures.h.
Definition at line 1117 of file VehicleIOValStructures.h.
Definition at line 1176 of file VehicleIOValStructures.h.
Definition at line 1161 of file VehicleIOValStructures.h.
Definition at line 1191 of file VehicleIOValStructures.h.
Definition at line 786 of file VehicleIOValStructures.h.
Definition at line 366 of file VehicleIOValStructures.h.
Definition at line 213 of file VehicleIOValStructures.h.
enum dwVioVehicleStopped |
Enumerator | |
---|---|
DW_VIO_VEHICLE_STOPPED_UNKNOWN | Schroedingers Vehicle Motion. |
DW_VIO_VEHICLE_STOPPED_FALSE | Vehicle moving. |
DW_VIO_VEHICLE_STOPPED_TRUE | Vehicle not moving. |
DW_VIO_VEHICLE_STOPPED_FORCE32 |
Definition at line 842 of file VehicleIOValStructures.h.
Definition at line 853 of file VehicleIOValStructures.h.
Definition at line 1200 of file VehicleIOValStructures.h.
Definition at line 879 of file VehicleIOValStructures.h.
Definition at line 1213 of file VehicleIOValStructures.h.
Definition at line 866 of file VehicleIOValStructures.h.
Definition at line 890 of file VehicleIOValStructures.h.
Definition at line 1224 of file VehicleIOValStructures.h.
Definition at line 901 of file VehicleIOValStructures.h.
Definition at line 949 of file VehicleIOValStructures.h.
DW_API_PUBLIC dwStatus dwVehicleIO_addCANSensor | ( | uint32_t const | vehicleIOId, |
dwSensorHandle_t const | sensorHandle, | ||
dwVehicleIOHandle_t const | obj | ||
) |
Add CAN sensor handle and corresponding VehicleIO configuration ID.
Allows sending commands to multiple sensors. For manual VehicleIO initialization with single CAN bus, a vehicleIO ID of 0 is expected.
[in] | vehicleIOId | Specifies ID of vehicle IO configuration. |
[in] | sensorHandle | Specifies the underlying VehicleIO CAN sensor. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_addDataSensor | ( | uint32_t const | vehicleIOId, |
dwSensorHandle_t const | sensorHandle, | ||
dwVehicleIOHandle_t const | obj | ||
) |
Add data sensor handle and corresponding VehicleIO configuration ID.
Allows sending commands to multiple sensors. For manual VehicleIO initialization with single data sensor, a vehicleIO ID of 0 is expected.
[in] | vehicleIOId | Specifies ID of vehicle IO configuration. |
[in] | sensorHandle | Specifies the underlying VehicleIO data sensor. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_consumeCANFrame | ( | dwCANMessage const *const | msg, |
uint32_t const | sensorId, | ||
dwVehicleIOHandle_t const | obj | ||
) |
Parse a received event.
A parsed messages will generate certain reports, which can be gathered using the according callbacks. A sensor ID not corresponding to the incoming message may cause incorrect behavior. For manual VehicleIO initialization with single can BUS, a sensor ID of 0 is expected.
[in] | msg | CAN message to be parsed by the controller. |
[in] | sensorId | Specifies index of CAN sensor that message came from. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_consumeDataPacket | ( | const dwDataPacket *const | pkt, |
uint32_t const | sensorId, | ||
dwVehicleIOHandle_t const | obj | ||
) |
Similar to dwVehicleIO_consumeCANFrame.
Expects a data packet generated by a data sensor. Used for socket based vehicle communication.
[in] | pkt | data packet to be parsed by the controller. |
[in] | sensorId | Specifies index of data sensor that message came from. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_getCapabilities | ( | dwVehicleIOCapabilities *const | caps, |
dwVehicleIOHandle_t const | obj | ||
) |
Retrieve current VehicleIO capabilities.
[out] | caps | returned VehicleIO capabilities. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleActuationFeedback | ( | dwVehicleIOActuationFeedback *const | actuationFeedback, |
dwVehicleIOHandle_t const | obj | ||
) |
Retrieve current vehicle actuation feedback.
Note that if called immediately after sending a new command it might not be reflected in the status, as the command needs to be executed and reported back by the vehicle.
[out] | actuationFeedback | returned actuation feedback. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleNonSafetyState | ( | dwVehicleIONonSafetyState *const | nonSafeState, |
dwVehicleIOHandle_t const | obj | ||
) |
Retrieve current vehicle non-safety state.
Note that if called immediately after sending a new command it might not be reflected in the status, as the command needs to be executed and reported back by the vehicle.
[out] | nonSafeState | returned vehicle non-safety RoV state. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleSafetyState | ( | dwVehicleIOSafetyState *const | safeState, |
dwVehicleIOHandle_t const | obj | ||
) |
Retrieve current vehicle safety state.
Note that if called immediately after sending a new command it might not be reflected in the status, as the command needs to be executed and reported back by the vehicle.
[out] | safeState | returned vehicle safety state. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleState | ( | dwVehicleIOState *const | state, |
dwVehicleIOHandle_t const | obj | ||
) |
Retrieve current vehicle state.
Note that if called immediately after sending a new command it might not be reflected in the status, as the command needs to be executed and reported back by the vehicle.
[out] | state | returned vehicle state. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_initialize | ( | dwVehicleIOHandle_t *const | obj, |
dwVehicleIOType const | type, | ||
const dwVehicle *const | properties, | ||
dwContextHandle_t const | ctx | ||
) |
Initialize VehicleIO and prepare all internal structures.
[out] | obj | A pointer to the car controller handle for the created module. |
[in] | type | Specifies the VehicleIO controller type. |
[in] | properties | Vehicle properties as described by dwRig module. |
[in] | ctx | Specifies the handler to the DriveWorks context. |
DW_API_PUBLIC dwStatus dwVehicleIO_initializeFromDBC | ( | dwVehicleIOHandle_t *const | obj, |
dwVehicleIOType const | type, | ||
const dwVehicle *const | properties, | ||
const char *const | dbcFilePath, | ||
dwContextHandle_t const | ctx | ||
) |
Initialize VehicleIO and prepare all internal structures from DBC File.
[out] | obj | A pointer to the car controller handle for the created module. |
[in] | type | Specifies the VehicleIO controller type. |
[in] | properties | Specified Vehicle properties (from rig.json) |
[in] | dbcFilePath | Speficifes path to the dbc file for initializing a DBC-based canbus interpreter |
[in] | ctx | Specifies the handler to the DriveWorks context. |
DW_API_PUBLIC dwStatus dwVehicleIO_initializeFromRig | ( | dwVehicleIOHandle_t *const | obj, |
dwConstRigHandle_t const | rig, | ||
dwContextHandle_t const | ctx | ||
) |
Initialize VehicleIO and prepare all internal structures from Rig Configuration.
[out] | obj | A pointer to the car controller handle for the created module. |
[in] | rig | Specifies the handler to the Rig Configuration. |
[in] | ctx | Specifies the handler to the DriveWorks context. |
DW_API_PUBLIC dwStatus dwVehicleIO_release | ( | dwVehicleIOHandle_t const | obj | ) |
Release used memory and close all modules.
Connection to VehicleIO will be closed. No more car commands can be accepted when module is released.
[in] | obj | The car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_reset | ( | dwVehicleIOHandle_t const | obj | ) |
Reset VehicleIO to default state.
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_selectDriverOverrides | ( | bool const | throttleOverride, |
bool const | steeringOverride, | ||
bool const | brakeOverride, | ||
bool const | gearOverride, | ||
dwVehicleIOHandle_t const | obj | ||
) |
Select the overrides that the driver can use to disable vehicle control.
[in] | throttleOverride | Enables driver override by throttle application |
[in] | steeringOverride | Enables driver override by steering application |
[in] | brakeOverride | Enables driver override by brake application |
[in] | gearOverride | Enables driver override by brake application |
[in] | obj | A pointer to the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_sendCommand | ( | const dwVehicleIOCommand *const | cmd, |
dwVehicleIOHandle_t const | obj | ||
) |
Send a vehicle command to the VehicleIO.
[in] | cmd | Command to be sent to the controller. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_sendMiscCommand | ( | const dwVehicleIOMiscCommand *const | cmd, |
dwVehicleIOHandle_t const | obj | ||
) |
Send a vehicle command to the VehicleIO.
[in] | cmd | Command to be sent to the controller. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_sendNonSafetyCommand | ( | const dwVehicleIONonSafetyCommand *const | nonSafeCmd, |
dwVehicleIOHandle_t const | obj | ||
) |
Send a vehicle non-safety command to the VehicleIO.
[in] | nonSafeCmd | Non-safety command to be sent to the controller. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_sendSafetyCommand | ( | const dwVehicleIOSafetyCommand *const | safeCmd, |
dwVehicleIOHandle_t const | obj | ||
) |
Send a vehicle safety command to the VehicleIO.
[in] | safeCmd | Safety command to be sent to the controller. |
[in] | obj | Specifies the car controller module handle. |
DW_API_PUBLIC dwStatus dwVehicleIO_setDrivingMode | ( | dwVehicleIODrivingMode const | mode, |
dwVehicleIOHandle_t const | obj | ||
) |
Setting driving mode allows to control the behaviour of VehicleIO module with regards to the permitted commands and number of safety checks performed.
NOTE: Whether certain driving mode is actually supported and when/if it is taken into effect is highly dependent on the type of the actuation interface.
Use dwVehicleIO_getVehicleState
call to determine which driving mode is in effect.
Use dwVehicleIO_getCapabilities
call to determine which limits are supported when in DW_VEHICLEIO_DRIVING_LIMITED or DW_VEHICLEIO_DRIVING_LIMITED_ND modes.
[in] | mode | specifies the mode of driving. |
[in] | obj | Specifies the car controller module handle. |