|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
12 #ifndef DW_RIG_VEHICLE_H_
13 #define DW_RIG_VEHICLE_H_
31 #include <dw/pbwire/BasicTypes.h>
33 #include <dw/core/base/Exports.h>
35 #include <dw/core/base/MatrixTypes.h>
41 #define DW_VEHICLE_STEER_MAP_POLY_DEGREE 5U
43 #define DW_VEHICLE_STEER_MAP_POLY_DEGREE_PLUS_ONE (DW_VEHICLE_STEER_MAP_POLY_DEGREE + 1U)
44 #define DW_VEHICLE_MAX_NUM_TRAILERS 1U
45 #define DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE 15U
46 #define DW_VEHICLE_NUM_CONTOUR_POINTS 200U
198 DW_DEPRECATED(
"throttleActuatorTimeConstant is deprecated, please use accelerationTimeConstant_s instead.")
539 #endif // DW_RIG_VEHICLE_H_
float32_t track
Width of the axle, measured between center line of wheels [m].
float32_t maxSteeringWheelAngle
Maximum steering wheel angle [rad].
dwVehicleWheels
Define index for each of the wheels on a 4 wheeled vehicle.
int32_t ticksCountMax
Number above which counter rolls over. [-].
@ DW_VEHICLE_WHEEL_FRONT_LEFT
struct dwVehicleCabin dwVehicleCabin
Vehicle cabin description.
float32_t rearWheelAngleTimeConstant_s
Time constant for first order + time delay system for rear wheel angle.
dwVector3f trailingVehicleHingePosition
Position of trailing vehicle hinge attach point in trailer coordinate system (DW_COORDINATE_SYSTEM_VE...
float32_t steeringCoefficient
Steering coefficient for trivial linear mapping between steering wheel and steering angle,...
Vehicle actuation properties.
float32_t throttleActuatorTimeConstant
Time constant for first order + time delay throttle system [s].
struct dwVehicleWheelEncoderProperties dwVehicleWheelEncoderProperties
Wheel encoder parameters.
dwVehicleSuspensionProperties suspension
Vehicle suspension properties.
struct dwVehicleTorqueLUT dwVehicleTorqueLUT
Throttle and brake state (input) to longitudinal force (output) lookup tables.
float32_t sideSlipAngleGradient
Side slip angle gradient relating lateral acceleration to side slip angle.
dwTransformation3f rearAxleToRoadLevelCurbMass
Transformation of the ISO23150 vehicle rear-axle coordinate system to the ISO23150 vehicle road-level...
dwVehicleBodyProperties body
Properties of the base body (passenger car body, truck tractor chassis)
Vehicle cabin description.
dwVehicleAxleProperties axleFront
Properties of the front (steering) axle [m].
float32_t curvatureTimeDelay_s
Time delay for first order + time delay curvature steering interface.
float32_t pitchAngleGradientAccel
Suspension pitch angle gradient during acceleration. [deg s^2 / m].
float32_t position
Position of axle midpoint along X-axis in corresponding vehicle coordinate system (DW_COORDINATE_SYST...
float32_t throttleActuatorTimeDelay
Time delay for first order + time delay throttle system [s].
dwVehicleBodyProperties body
Properties of the cabin body.
#define DW_VEHICLE_NUM_CONTOUR_POINTS
float32_t driveByWireTimeDelay
Time delay for first order + time delay drive-by-wire / steer-by-wire [s].
Physical properties of a vehicle body.
float32_t frontWheelAngleTimeConstant_s
Time constant for first order + time delay system for front wheel angle.
dwVehicleAxleProperties axleFront
Properties of the front (steering) axle [m].
#define DW_VEHICLE_STEER_MAP_POLY_DEGREE_PLUS_ONE
Wheel encoder parameters.
float32_t widthWithMirrors
Width of the vehicle including side mirrors.
dwVector3f inertia
Principal moments of inertia with respect to center of mass [kg m^2].
dwVector3f inertia3D
vehicle inertia around each axis, w.r.t.
@ DW_VEHICLE_TRAILER_TYPE_SEMI
Trailer that has both front and rear axles.
float32_t axlebaseRear
Width of the rear axle.
float32_t driveByWireDampingRatio
Damping ratio for second order + time delay drive-by-wire / steer-by-wire [unitless].
float32_t widthWithoutMirrors
Width of the body without any side-mirrors, if applicable, otherwise same as width.
float32_t rollAngleGradient
Suspension roll angle gradient. [deg s^2 / m].
@ DW_VEHICLE_WHEEL_REAR_LEFT
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 accelerationTimeConstant_s
Time constant for first order + time delay acceleration system.
int32_t ticksCountInvalid
Invalid tick count, optional value provided by vehicle in case of error, must be outside of [ticksCou...
@ DW_VEHICLE_TRAILER_TYPE_FULL
float32_t rearAxleToBPillar
Distance from rear axle to B pillar [m].
struct dwGenericVehicle dwGenericVehicle
Vehicle description.
float32_t frontWheelAngleTimeDelay_s
Time delay for first order + time delay system for front wheel angle.
struct dwVehicleSuspensionProperties dwVehicleSuspensionProperties
Suspension properties.
@ DW_VEHICLE_WHEEL_REAR_RIGHT
int32_t ticksPerTurn
Ticks per wheel turn. [-].
float32_t bumperRear
Distance rear axle to rear bumper.
dwVector3f boundingBoxPosition
Position of bounding box origin in body coordinate system [m].
float32_t rearAxleToAPillar
Distance from rear axle to A pillar [m].
float float32_t
Specifies POD types.
Defines a three-element floating-point vector.
bool isDriveByWireSecondOrder
Indicates whether the drive-by-wire / steer-by-wire is second-order or not.
float32_t bumperFront
Distance front axle to front bumper.
float32_t throttlePedalInput[DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE]
1-d array of range of throttle pedal values (Throttle Look-up Table Input)
float32_t driveByWireTimeConstant
Time constant for first order + time delay drive-by-wire / steer-by-wire [s].
float32_t centerOfMassToRearAxle
Distance between vehicle's CoM (center-of-mass) and center of the rear axle.
float32_t driveByWireTimeConstant
Drive-by-wire (steer-by-wire) time constant.
struct dwVehicleDynamicsProperties dwVehicleDynamicsProperties
Dynamics properties.
float32_t mass
vehicle mass [kg].
Vehicle trailer description.
float32_t wheelbase
Distance between the centers of the front and rear wheels.
struct dwVehicleBodyProperties dwVehicleBodyProperties
Physical properties of a vehicle body.
@ DW_VEHICLE_WHEEL_FRONT_RIGHT
dwTransformation3f rearAxleToRoadLevelDesignMass
Transformation of the ISO23150 vehicle rear-axle coordinate system to the ISO23150 vehicle road-level...
Properties of an articulation linking two vehicle units.
float32_t rearWheelAngleTimeDelay_s
Time delay for first order + time delay system for rear wheel angle.
float32_t brakeActuatorTimeDelay
Time delay for first order + time delay brake system [s].
float32_t wheelRadiusRight
Radius of right wheel, when facing towards the forward direction of the vehicle [m].
DEPRECATED: Properties of a passenger car vehicle.
dwVehicleTrailerType
Supported trailer types.
float32_t frontCorneringStiffness
front wheel cornering stiffness.
float32_t height
Height of the bounding box (vertical dimension, along Z) [m].
#define DW_DEPRECATED(msg)
dwVehicleAxleProperties axleRear
Properties of the rear axle group [m].
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]
dwVehicleAxleProperties axleRear
Properties of the rear axle group [m].
float32_t axlebaseFront
Width of the front axle.
float32_t lowSpeedRearSideSlipGradientForward
Low speed rear side slip gradient forward relating front steering angle to rear side slip angle.
Throttle and brake state (input) to longitudinal force (output) lookup tables.
bool hasCabin
Indicates presence of a cabin.
Properties of an axle and its wheels.
dwVector3f leadingVehicleHingePosition
Position of leading vehicle hinge attach point in leading vehicle coordinate system (DW_COORDINATE_SY...
dwVehicleWheelEncoderProperties wheelEncoder
Wheel encoder properties.
float32_t width
Width of the bounding box (lateral dimension, along Y) [m].
float32_t width
Width of the vehicle, without side mirrors.
dwVehicleBodyProperties body
Properties of the trailer body.
float32_t speedQuantization
Wheel speed quantization.
int32_t ticksCountMin
Number below which counter rolls under. [-].
float32_t driveByWireTimeDelay
Drive-by-wire (steer-by-wire) time delay.
uint32_t numTrailers
Stores the occupied/valid length of trailers.
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...
float32_t steeringWheelToSteeringMap[DW_VEHICLE_STEER_MAP_POLY_DEGREE_PLUS_ONE]
Polynomial relating steering wheel angle [rad] to steering angle [rad].
struct dwVehicleArticulationProperties dwVehicleArticulationProperties
Properties of an articulation linking two vehicle units.
float32_t nominalWheelRadiusLeft
Nominal value of radius of left wheel, when facing towards the forward direction of the vehicle.
float32_t brakeActuatorTimeConstant
Time constant for first order + time delay brake system [s].
float32_t wheelRadiusLeft
Radius of left wheel, when facing towards the forward direction of the vehicle [m].
float32_t nominalWheelRadiusRight
Nominal value of radius of right wheel, when facing towards the forward direction of the vehicle.
float32_t decelerationTimeDelay_s
Time delay for first order + time delay deceleration system.
float32_t length
Length of the vehicle.
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 height
Height of the vehicle.
struct dwVehicleTrailer dwVehicleTrailer
Vehicle trailer description.
dwVector3f centerOfMass
Position of center of mass in body coordinate system [m].
float32_t effectiveMass
effective mass due to vehicle rotational inertia (wheel rotation, engine, and other parts of the CVT ...
float32_t lowSpeedRearSideSlipGradientBackward
Low speed rear side slip gradient backward relating front steering angle to rear side slip angle.
struct dwVehicleAxleProperties dwVehicleAxleProperties
Properties of an axle and its wheels.
float32_t driveByWireNaturalFrequency
Natural frequency for second order + time delay drive-by-wire / steer-by-wire [hz].
float32_t curvatureTimeConstant_s
Time constant for first order + time delay curvature steering interface.
float32_t rearCorneringStiffness
rear wheel cornering stiffness.
@ DW_VEHICLE_NUM_WHEELS
Number of wheels describing the vehicle.
float32_t rearAxleToCPillar
Distance from rear axle to C pillar [m].
float32_t understeerAngleGradient
Understeer angle gradient relating lateral acceleration to steering angle deviation.
float32_t effectiveMass
Effective mass due to rotational inertia (wheel, engine, and other parts of the CVT drivetrain) [kg].
dwVehicleCabin cabin
Properties of an optional floating cabin attached to the base body.
dwVehicleTorqueLUT torqueLUT
Torque lookup tables.
float32_t pitchAngleGradientBrake
Suspension pitch angle gradient during braking. [deg s^2 / m].
dwVehicleArticulationProperties articulation
Articulation linking trailer to leading vehicle unit.
#define DW_VEHICLE_THROTTLE_BRAKE_LUT_SIZE
dwVehicleDynamicsProperties dynamics
Vehicle dynamics properties.
dwVehicleTrailerType type
Trailer type, either full or semi, indicates presence of front axle.
float32_t corneringStiffness
Cornering stiffness for a single tire [N/rad].
dwVehicleActuationProperties actuation
Vehicle actuation properties.
float32_t decelerationTimeConstant_s
Time constant for first order + time delay deceleration system.
#define DW_VEHICLE_MAX_NUM_TRAILERS
float32_t length
Length of the bounding box (longitudinal dimension, along X) [m].
float32_t accelerationTimeDelay_s
Time delay for first order + time delay acceleration system.