45#ifndef DW_RIG_VEHICLE_H_
46#define DW_RIG_VEHICLE_H_
54#define DW_VEHICLE_STEER_MAP_POLY_DEGREE 5U
55#define DW_VEHICLE_MAX_NUM_TRAILERS 1U
126#define DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE 15U
Defines a three-element floating-point vector.
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
#define DW_DEPRECATED(msg)
dwVector3f inertia
Principal moments of inertia with respect to center of mass [kg m^2].
float32_t wheelRadius[DW_VEHICLE_NUM_WHEELS]
float32_t throttleSpeedInput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
1-d array of range of vehicle linear speed values (Throttle Look-up Table Input) [m/s]
float32_t height
Height of the bounding box (vertical dimension, along Z) [m].
float32_t maxSteeringWheelAngle
maximum steering wheel [radians]
float32_t brakeActuatorTimeConstant
Time constant for first order + time delay brake system [s].
dwVector3f centerOfMass
Position of center of mass in body coordinate system [m].
dwVehicleAxleProperties axleFront
Properties of the front (steering) axle [m].
dwVehicleBodyProperties body
Properties of the cabin body.
float32_t centerOfMassToRearAxle
dwVehicleCabin cabin
Properties of an optional floating cabin attached to the base body.
float32_t frontSteeringOffset
front wheel steering offset [radians].
float32_t frontCorneringStiffness
float32_t throttlePedalInput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
1-d array of range of throttle pedal values (Throttle Look-up Table Input)
dwVehicleTorqueLUT torqueLUT
Torque lookup tables.
float32_t rearCorneringStiffness
float32_t driveByWireDampingRatio
Damping ratio for second order + time delay drive-by-wire / steer-by-wire [unitless].
float32_t centerOfMassHeight
float32_t position
Position of axle midpoint along X-axis in corresponding vehicle coordinate system (DW_COORDINATE_SYST...
dwVehicleBodyProperties body
Properties of the base body (passenger car body, truck tractor chassis)
float32_t steeringWheelToSteeringMap[DW_VEHICLE_STEER_MAP_POLY_DEGREE+1U]
Polynomial relating steering wheel angle [rad] to steering angle [rad].
float32_t driveByWireTimeDelay
dwVehicleAxleProperties axleFront
Properties of the front (steering) axle [m].
dwVector3f boundingBoxPosition
Position of bounding box origin in body coordinate system [m].
float32_t width
Width of the bounding box (lateral dimension, along Y) [m].
float32_t wheelRadiusLeft
Radius of left wheel, when facing towards the forward direction of the vehicle [m].
dwVehicleArticulationProperties articulation
Articulation linking trailer to leading vehicle unit.
dwVehicleAxleProperties axleRear
Properties of the rear axle group [m].
dwVehicleActuationProperties actuation
Vehicle actuation properties.
float32_t brakeTorqueOutput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
1-d torque Table, mapping a given brake pedal position to a torque value (Brake Look-up Table Output)
float32_t driveByWireTimeConstant
float32_t corneringStiffness
Cornering stiffness for a single tire [N/rad].
float32_t widthWithMirrors
float32_t driveByWireTimeConstant
Time constant for first order + time delay drive-by-wire / steer-by-wire [s].
float32_t throttleActuatorTimeConstant
Time constant for first order + time delay throttle system [s].
float32_t effectiveMass
Effective mass due to rotational inertia (wheel, engine, and other parts of the CVT drivetrain) [kg].
float32_t driveByWireNaturalFrequency
Natural frequency for second order + time delay drive-by-wire / steer-by-wire [hz].
float32_t track
Width of the axle, measured between center line of wheels [m].
float32_t brakeActuatorTimeDelay
Time delay for first order + time delay brake system [s].
float32_t throttleActuatorTimeDelay
Time delay for first order + time delay throttle system [s].
bool hasCabin
Indicates presence of a cabin.
dwVector3f leadingVehicleHingePosition
Position of leading vehicle hinge attach point in leading vehicle coordinate system (DW_COORDINATE_SY...
float32_t brakeActuatorTimeConstant
dwVehicleTorqueLUT torqueLUT
dwVehicleTrailerType type
Trailer type, either full or semi, indicates presence of front axle.
dwVehicleBodyProperties body
Properties of the trailer body.
float32_t steeringWheelToSteeringMap[DW_VEHICLE_STEER_MAP_POLY_DEGREE+1]
polynomial coefficents of steering wheel angle to steering angle as given in c0 + c1*x + c2*x^2 + ....
float32_t driveByWireTimeDelay
Time delay for first order + time delay drive-by-wire / steer-by-wire [s].
float32_t throttleTorqueOutput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE][DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
2-d torque table, mapping a given throttle pedal position at a given speed to a torque value (Throttl...
dwVector3f trailingVehicleHingePosition
Position of trailing vehicle hinge attach point in trailer coordinate system (DW_COORDINATE_SYSTEM_VE...
float32_t aerodynamicDragCoeff
float32_t wheelRadiusRight
Radius of right wheel, when facing towards the forward direction of the vehicle [m].
float32_t steeringCoefficient
float32_t centerOfMassToFrontAxle
float32_t rollingResistanceCoeff
dwVehicleTrailer trailers[DW_VEHICLE_MAX_NUM_TRAILERS]
Properties of trailer units.
dwVehicleAxleProperties axleRear
Properties of the rear axle group [m].
bool isDriveByWireSecondOrder
Indicates whether the drive-by-wire / steer-by-wire is second-order or not.
float32_t widthWithoutMirrors
Width of the body without any side-mirrors, if applicable, otherwise same as width.
float32_t maxSteeringWheelAngle
Maximum steering wheel angle [rad].
uint32_t numTrailers
Number of trailer units.
float32_t length
Length of the bounding box (longitudinal dimension, along X) [m].
float32_t brakePedalInput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
1-d array of range of brake pedal values (Brake Look-up Table Input)
float32_t throttleActuatorTimeConstant
dwVehicleTrailerType
Supported trailer types.
#define DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE
#define DW_VEHICLE_MAX_NUM_TRAILERS
#define DW_VEHICLE_STEER_MAP_POLY_DEGREE
dwVehicleWheels
Define index for each of the wheels on a 4 wheeled vehicle.
@ DW_VEHICLE_TRAILER_TYPE_SEMI
Trailer that has both front and rear axles.
@ DW_VEHICLE_TRAILER_TYPE_FULL
@ DW_VEHICLE_WHEEL_REAR_LEFT
@ DW_VEHICLE_WHEEL_REAR_RIGHT
@ DW_VEHICLE_WHEEL_FRONT_LEFT
@ DW_VEHICLE_NUM_WHEELS
Number of wheels describing the vehicle.
@ DW_VEHICLE_WHEEL_FRONT_RIGHT
DEPRECATED: Properties of a passenger car vehicle.
Vehicle actuation properties.
Properties of an articulation linking two vehicle units.
Properties of an axle and its wheels.
Physical properties of a vehicle body.
Vehicle cabin description.
Throttle and brake state (input) to longitudinal force (output) lookup tables.