DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Vehicle Data Interface

Detailed Description

Defines the methods used to obtain and store vehicle data.

Note
SW Release Applicability: These APIs are available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Enumerations

enum  dwCANVehicleData {
  DW_CAN_STEERING_ANGLE = 0x00000100,
  DW_CAN_STEERING_WHEEL_ANGLE = 0x00000101,
  DW_CAN_STEERING_RATE = 0x00000102,
  DW_CAN_YAW_RATE = 0x00000103,
  DW_CAN_CAR_SPEED = 0x00000200,
  DW_CAN_WHEEL_SPEED_0 = 0x00000201,
  DW_CAN_WHEEL_SPEED_1 = 0x00000202,
  DW_CAN_WHEEL_SPEED_2 = 0x00000203,
  DW_CAN_WHEEL_SPEED_3 = 0x00000204,
  DW_CAN_LONG_ACCEL = 0x00000301,
  DW_CAN_LAT_ACCEL = 0x00000302,
  DW_CAN_Z_ACCEL = 0x00000303,
  DW_CAN_X_ACCEL = DW_CAN_LONG_ACCEL,
  DW_CAN_Y_ACCEL = DW_CAN_LAT_ACCEL,
  DW_CAN_NOT_DEFINED = 0xFFFFFFFF
}
 A set of enumeration constants representing the default data signals. More...
 

Enumeration Type Documentation

◆ dwCANVehicleData

A set of enumeration constants representing the default data signals.

The signals can be remapped to actual string based signal representation, but for sanity and to be able to let SDK modules query predefined signals, these defintions are provided here.

Note
There are two angles: steering wheel and steering angle. In general, there is a mapping between the angle of the steering wheel and the actual steering radius of the car. The rule of thumb for some car manufacturers is that the angle of the steering wheel has to be divided by 16 to get an approximation of the actual steering angle. In general, however, that is a non-linear mapping reflecting the current status of the whole car steering geometry.
Enumerator
DW_CAN_STEERING_ANGLE 

rad - steering angle of the car. ( neg -> right, pos -> left)

DW_CAN_STEERING_WHEEL_ANGLE 

rad - angle of the steering wheel. ( neg -> right, pos -> left)

DW_CAN_STEERING_RATE 

rad/s - rotation speed of the steering wheel

DW_CAN_YAW_RATE 

rad/s - rate of the yaw rotation of the car

DW_CAN_CAR_SPEED 

m/s - speed of the car

DW_CAN_WHEEL_SPEED_0 

m/s - speed of the wheel 0

DW_CAN_WHEEL_SPEED_1 

m/s - speed of the wheel 1

DW_CAN_WHEEL_SPEED_2 

m/s - speed of the wheel 2

DW_CAN_WHEEL_SPEED_3 

m/s - speed of the wheel 3

DW_CAN_LONG_ACCEL 

m/ss - acceleration along the car axis

DW_CAN_LAT_ACCEL 

m/ss - acceleration perpendicular to car axis

DW_CAN_Z_ACCEL 

m/ss - acceleration along the z-axis (height)

DW_CAN_X_ACCEL 
DW_CAN_Y_ACCEL 
DW_CAN_NOT_DEFINED 

undefined or unknown type

Definition at line 68 of file VehicleData.h.