RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleTireForceParams Struct Reference

Public Member Functions

PX_FORCE_INLINE PxVehicleTireForceParams transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const
 
PX_FORCE_INLINE bool isValid () const
 

Public Attributes

PxReal latStiffX
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.
 
PxReal latStiffY
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= latStiffX.
 
PxReal longStiff
 Tire Longitudinal stiffness.
 
PxReal camberStiff
 Tire camber stiffness.
 
PxReal frictionVsSlip [3][2]
 Graph of friction vs longitudinal slip with 3 points.
 
PxReal restLoad
 The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane.
 
PxReal loadFilter [2][2]
 Tire load variation can be strongly dependent on the time-step so it is a good idea to filter it to give less jerky handling behavior.
 

Member Data Documentation

◆ camberStiff

PxReal physx::vehicle2::PxVehicleTireForceParams::camberStiff

Tire camber stiffness.

Note
Camber force can be approximated as camberStiff*camberAngle.

Unit: force per radian = mass * length / (time^2)

◆ frictionVsSlip

PxReal physx::vehicle2::PxVehicleTireForceParams::frictionVsSlip[3][2]

Graph of friction vs longitudinal slip with 3 points.

Note
frictionVsSlip[0][0] is always zero.
frictionVsSlip[0][1] is the friction available at zero longitudinal slip.
frictionVsSlip[1][0] is the value of longitudinal slip with maximum friction.
frictionVsSlip[1][1] is the maximum friction.
frictionVsSlip[2][0] is the end point of the graph.
frictionVsSlip[2][1] is the value of friction for slips greater than frictionVsSlip[2][0].
The friction value is computed from the friction vs longitudinal slip graph using linear interpolation.
The friction value computed from the friction vs longitudinal slip graph is used to scale the friction value of the road geometry.
frictionVsSlip[2][0] > frictionVsSlip[1][0] > frictionVsSlip[0][0]
frictionVsSlip[1][1] is typically greater than frictionVsSlip[0][1]
frictionVsSlip[2][1] is typically smaller than frictionVsSlip[1][1]
longitudinal slips > frictionVsSlip[2][0] use friction multiplier frictionVsSlip[2][1]

◆ latStiffX

PxReal physx::vehicle2::PxVehicleTireForceParams::latStiffX

Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.

Note
A value of 0.0 indicates that the tire lateral stiffness is independent of load and will adopt the value latStiffY for all values of tire load.

◆ latStiffY

PxReal physx::vehicle2::PxVehicleTireForceParams::latStiffY

Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= latStiffX.

Unit: force per lateral slip = mass * length / (time^2)

◆ loadFilter

PxReal physx::vehicle2::PxVehicleTireForceParams::loadFilter[2][2]

Tire load variation can be strongly dependent on the time-step so it is a good idea to filter it to give less jerky handling behavior.

Note
Tire load filtering is implemented by linear interpolating a graph containing just two points. The x-axis of the graph is normalized tire load, while the y-axis is the filtered normalized tire load that is to be applied during the tire force calculation.
The normalized load is the force acting downwards on the tire divided by restLoad.
The minimum possible normalized load is zero.
There are two points on the graph: (minNormalisedLoad, minNormalisedFilteredLoad) and (maxNormalisedLoad, maxFilteredNormalisedLoad).
Normalized loads less than minNormalisedLoad have filtered normalized load = minNormalisedFilteredLoad.
Normalized loads greater than maxNormalisedLoad have filtered normalized load = maxFilteredNormalisedLoad.
Normalized loads in-between are linearly interpolated between minNormalisedFilteredLoad and maxFilteredNormalisedLoad.
The tire load applied as input to the tire force computation is the filtered normalized load multiplied by the rest load.
loadFilter[0][0] is minNormalisedLoad
loadFilter[0][1] is minFilteredNormalisedLoad
loadFilter[1][0] is maxNormalisedLoad
loadFilter[1][1] is maxFilteredNormalisedLoad

◆ longStiff

PxReal physx::vehicle2::PxVehicleTireForceParams::longStiff

Tire Longitudinal stiffness.

Note
Longitudinal force can be approximated as longStiff*longitudinalSlip.

Unit: force per longitudinal slip = mass * length / (time^2)

◆ restLoad

PxReal physx::vehicle2::PxVehicleTireForceParams::restLoad

The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane.

Note
The rest load is approximately the product of gravitational acceleration and (sprungMass + wheelMass).

Unit: force = mass * length / (time^2)


The documentation for this struct was generated from the following file: