35#include "foundation/PxFoundation.h"
37#include "vehicle2/PxVehicleParams.h"
39#include "PxVehicleTireStates.h"
136 const PxReal scale = trgScale.
scale / srcScale.
scale;
146 PX_CHECK_AND_RETURN_VAL(
latStiffX >= 0,
"PxVehicleTireForceParams.latStiffX must be greater than or equal to zero",
false);
147 PX_CHECK_AND_RETURN_VAL(
latStiffY > 0,
"PxVehicleTireForceParams.latStiffY must be greater than zero",
false);
148 PX_CHECK_AND_RETURN_VAL(
longStiff > 0,
"PxVehicleTireForceParams.longStiff must be greater than zero",
false);
149 PX_CHECK_AND_RETURN_VAL(
camberStiff >= 0,
"PxVehicleTireForceParams.camberStiff must be greater than or equal zero",
false);
150 PX_CHECK_AND_RETURN_VAL(
restLoad > 0,
"PxVehicleTireForceParams.restLoad must be greater than zero",
false);
151 PX_CHECK_AND_RETURN_VAL(
loadFilter[1][0] >=
loadFilter[0][0],
"PxVehicleTireForceParams.loadFilter[1][0] must be greater than or equal to PxVehicleTireForceParams.loadFilter[0][0]",
false);
152 PX_CHECK_AND_RETURN_VAL(
loadFilter[1][1] > 0,
"PxVehicleTireLoadFilterData.loadFilter[1][1] must be greater than zero",
false);
153 PX_CHECK_AND_RETURN_VAL(0.0f ==
loadFilter[0][0],
"PxVehicleTireLoadFilterData.loadFilter[0][0] must be equal to zero",
false);
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxVehicleParams.h:174
Definition PxVehicleParams.h:224
PxReal scale
The length scale used for the vehicle. For example, if 1.0 is considered meters, then 100....
Definition PxVehicleParams.h:225
Definition PxVehicleTireParams.h:49
PxReal frictionVsSlip[3][2]
Graph of friction vs longitudinal slip with 3 points.
Definition PxVehicleTireParams.h:100
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 g...
Definition PxVehicleTireParams.h:128
PxReal camberStiff
Tire camber stiffness.
Definition PxVehicleTireParams.h:82
PxReal latStiffX
Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens a...
Definition PxVehicleTireParams.h:57
PxReal restLoad
The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane.
Definition PxVehicleTireParams.h:108
PxReal latStiffY
Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens a...
Definition PxVehicleTireParams.h:66
PxReal longStiff
Tire Longitudinal stiffness.
Definition PxVehicleTireParams.h:74