PxVehicleTireData Class Reference

#include <PxVehicleComponents.h>

Public Member Functions

 PxVehicleTireData ()
 
PX_FORCE_INLINE PxReal getRecipLongitudinalStiffnessPerUnitGravity () const
 Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity. More...
 
PX_FORCE_INLINE PxReal getFrictionVsSlipGraphRecipx1Minusx0 () const
 Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]) More...
 
PX_FORCE_INLINE PxReal getFrictionVsSlipGraphRecipx2Minusx1 () const
 Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]) More...
 

Public Attributes

PxReal mLatStiffX
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load. More...
 
PxReal mLatStiffY
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffY describes the maximum possible value of lateralStiffness/restLoad that occurs when (load/restLoad)>= mLatStiffX. More...
 
PxReal mLongitudinalStiffnessPerUnitGravity
 Tire Longitudinal stiffness per unit gravitational acceleration. More...
 
PxReal mCamberStiffnessPerUnitGravity
 tire Tire camber stiffness per unity gravitational acceleration. More...
 
PxReal mFrictionVsSlipGraph [3][2]
 Graph of friction vs longitudinal slip with 3 points. More...
 
PxU32 mType
 Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc. More...
 

Private Member Functions

bool isValid () const
 

Private Attributes

PxReal mRecipLongitudinalStiffnessPerUnitGravity
 Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity. More...
 
PxReal mFrictionVsSlipGraphRecipx1Minusx0
 Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]) More...
 
PxReal mFrictionVsSlipGraphRecipx2Minusx1
 Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]) More...
 
PxReal mPad [2]
 

Friends

class PxVehicleWheels4SimData
 

Constructor & Destructor Documentation

◆ PxVehicleTireData()

PxVehicleTireData::PxVehicleTireData ( )
inline

Member Function Documentation

◆ getFrictionVsSlipGraphRecipx1Minusx0()

PX_FORCE_INLINE PxReal PxVehicleTireData::getFrictionVsSlipGraphRecipx1Minusx0 ( ) const
inline

Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0])

See also
PxVehicleWheelsSimData::setTireData

◆ getFrictionVsSlipGraphRecipx2Minusx1()

PX_FORCE_INLINE PxReal PxVehicleTireData::getFrictionVsSlipGraphRecipx2Minusx1 ( ) const
inline

Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0])

See also
PxVehicleWheelsSimData::setTireData

◆ getRecipLongitudinalStiffnessPerUnitGravity()

PX_FORCE_INLINE PxReal PxVehicleTireData::getRecipLongitudinalStiffnessPerUnitGravity ( ) const
inline

Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.

See also
PxVehicleWheelsSimData::setTireData

◆ isValid()

bool PxVehicleTireData::isValid ( ) const
private

Friends And Related Function Documentation

◆ PxVehicleWheels4SimData

friend class PxVehicleWheels4SimData
friend

Member Data Documentation

◆ mCamberStiffnessPerUnitGravity

PxReal PxVehicleTireData::mCamberStiffnessPerUnitGravity

tire Tire camber stiffness per unity gravitational acceleration.

Note
Camber stiffness of the tire is calculated as gravitationalAcceleration*mCamberStiffnessPerUnitGravity
Camber force can be approximated as gravitationalAcceleration*mCamberStiffnessPerUnitGravity*camberAngle.
Specified in kilograms per radian.

Range: [0, PX_MAX_F32)

◆ mFrictionVsSlipGraph

PxReal PxVehicleTireData::mFrictionVsSlipGraph[3][2]

Graph of friction vs longitudinal slip with 3 points.

Note
mFrictionVsSlipGraph[0][0] is always zero.
mFrictionVsSlipGraph[0][1] is the friction available at zero longitudinal slip.
mFrictionVsSlipGraph[1][0] is the value of longitudinal slip with maximum friction.
mFrictionVsSlipGraph[1][1] is the maximum friction.
mFrictionVsSlipGraph[2][0] is the end point of the graph.
mFrictionVsSlipGraph[2][1] is the value of friction for slips greater than mFrictionVsSlipGraph[2][0].
The friction value computed from the friction vs longitudinal slip graph is used to scale the friction value for the combination of material and tire type (PxVehicleDrivableSurfaceToTireFrictionPairs).
mFrictionVsSlipGraph[2][0] > mFrictionVsSlipGraph[1][0] > mFrictionVsSlipGraph[0][0]
mFrictionVsSlipGraph[1][1] is typically greater than mFrictionVsSlipGraph[0][1]
mFrictionVsSlipGraph[2][1] is typically smaller than mFrictionVsSlipGraph[1][1]
longitudinal slips > mFrictionVsSlipGraph[2][0] use friction multiplier mFrictionVsSlipGraph[2][1]
The final friction value used by the tire model is the value returned by PxVehicleDrivableSurfaceToTireFrictionPairs multiplied by the value computed from mFrictionVsSlipGraph.
See also
PxVehicleDrivableSurfaceToTireFrictionPairs, PxVehicleComputeTireForce

Range: [0, PX_MAX_F32)

◆ mFrictionVsSlipGraphRecipx1Minusx0

PxReal PxVehicleTireData::mFrictionVsSlipGraphRecipx1Minusx0
private

Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0])

Note
Not necessary to set this value because it is set by PxVehicleWheelsSimData::setTireData
See also
PxVehicleWheelsSimData::setTireData

◆ mFrictionVsSlipGraphRecipx2Minusx1

PxReal PxVehicleTireData::mFrictionVsSlipGraphRecipx2Minusx1
private

Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0])

Note
Not necessary to set this value because it is set by PxVehicleWheelsSimData::setTireData
See also
PxVehicleWheelsSimData::setTireData

◆ mLatStiffX

PxReal PxVehicleTireData::mLatStiffX

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

Range: [0, PX_MAX_F32)

◆ mLatStiffY

PxReal PxVehicleTireData::mLatStiffY

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

Note
If load/restLoad is greater than mLatStiffX then the lateral stiffness is mLatStiffY*restLoad.
If load/restLoad is less than mLatStiffX then the lateral stiffness is mLastStiffY*(load/mLatStiffX)
Lateral force can be approximated as lateralStiffness * lateralSlip.
Specified in per radian.

Range: [0, PX_MAX_F32)

◆ mLongitudinalStiffnessPerUnitGravity

PxReal PxVehicleTireData::mLongitudinalStiffnessPerUnitGravity

Tire Longitudinal stiffness per unit gravitational acceleration.

Note
Longitudinal stiffness of the tire is calculated as gravitationalAcceleration*mLongitudinalStiffnessPerUnitGravity.
Longitudinal force can be approximated as gravitationalAcceleration*mLongitudinalStiffnessPerUnitGravity*longitudinalSlip.
Specified in kilograms per radian.

Range: [0, PX_MAX_F32)

◆ mPad

PxReal PxVehicleTireData::mPad[2]
private

◆ mRecipLongitudinalStiffnessPerUnitGravity

PxReal PxVehicleTireData::mRecipLongitudinalStiffnessPerUnitGravity
private

Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.

Note
Not necessary to set this value because it is set by PxVehicleWheelsSimData::setTireData
See also
PxVehicleWheelsSimData::setTireData

◆ mType

PxU32 PxVehicleTireData::mType

Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc.

See also
PxVehicleDrivableSurfaceToTireFrictionPairs

Range: [0, PX_MAX_F32)


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