#include <PxVehicleComponents.h>
Public Member Functions | |
PxVehicleTireData () | |
PX_FORCE_INLINE PxReal | getRecipLongitudinalStiffnessPerUnitGravity () const |
Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity. | |
PX_FORCE_INLINE PxReal | getFrictionVsSlipGraphRecipx1Minusx0 () const |
Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]). | |
PX_FORCE_INLINE PxReal | getFrictionVsSlipGraphRecipx2Minusx1 () const |
Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]). | |
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. | |
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. | |
PxReal | mLongitudinalStiffnessPerUnitGravity |
Tire Longitudinal stiffness per unit gravitational acceleration. | |
PxReal | mCamberStiffnessPerUnitGravity |
tire Tire camber stiffness per unity gravitational acceleration. | |
PxReal | mFrictionVsSlipGraph [3][2] |
Graph of friction vs longitudinal slip with 3 points. | |
PxU32 | mType |
Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc. | |
Private Member Functions | |
bool | isValid () const |
Private Attributes | |
PxReal | mRecipLongitudinalStiffnessPerUnitGravity |
Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity. | |
PxReal | mFrictionVsSlipGraphRecipx1Minusx0 |
Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]). | |
PxReal | mFrictionVsSlipGraphRecipx2Minusx1 |
Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]). | |
PxReal | mPad [2] |
Friends | |
class | PxVehicleWheels4SimData |
PxVehicleTireData::PxVehicleTireData | ( | ) | [inline] |
PX_FORCE_INLINE PxReal PxVehicleTireData::getFrictionVsSlipGraphRecipx1Minusx0 | ( | ) | const [inline] |
Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]).
PX_FORCE_INLINE PxReal PxVehicleTireData::getFrictionVsSlipGraphRecipx2Minusx1 | ( | ) | const [inline] |
Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]).
PX_FORCE_INLINE PxReal PxVehicleTireData::getRecipLongitudinalStiffnessPerUnitGravity | ( | ) | const [inline] |
Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.
bool PxVehicleTireData::isValid | ( | ) | const [private] |
friend class PxVehicleWheels4SimData [friend] |
tire Tire camber stiffness per unity gravitational acceleration.
Camber force can be approximated as gravitationalAcceleration*mCamberStiffnessPerUnitGravity*camberAngle.
Specified in kilograms per radian.
PxReal PxVehicleTireData::mFrictionVsSlipGraph[3][2] |
Graph of friction vs longitudinal slip with 3 points.
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.
PxReal PxVehicleTireData::mFrictionVsSlipGraphRecipx1Minusx0 [private] |
Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0]).
PxReal PxVehicleTireData::mFrictionVsSlipGraphRecipx2Minusx1 [private] |
Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0]).
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)
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.
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.
Tire Longitudinal stiffness per unit gravitational acceleration.
Longitudinal force can be approximated as gravitationalAcceleration*mLongitudinalStiffnessPerUnitGravity*longitudinalSlip.
Specified in kilograms per radian.
PxReal PxVehicleTireData::mPad[2] [private] |
PxReal PxVehicleTireData::mRecipLongitudinalStiffnessPerUnitGravity [private] |
Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.
Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc.
Range: [0, PX_MAX_F32)