#include <PxVehicleComponents.h>
◆ PxVehicleClutchData() [1/2]
PxVehicleClutchData::PxVehicleClutchData |
( |
| ) |
|
|
inline |
◆ PxVehicleClutchData() [2/2]
PxVehicleClutchData::PxVehicleClutchData |
( |
const PxEMPTY |
| ) |
|
|
inline |
◆ isValid()
bool PxVehicleClutchData::isValid |
( |
| ) |
const |
|
private |
◆ PxVehicleDriveSimData
◆ mAccuracyMode
The engine and wheel rotation speeds that are coupled through the clutch can be updated by choosing one of two modes: eESTIMATE and eBEST_POSSIBLE.
- Note
- If eESTIMATE is chosen the vehicle sdk will update the wheel and engine rotation speeds with estimated values to the implemented clutch model.
-
If eBEST_POSSIBLE is chosen the vehicle sdk will compute the best possible solution (within floating point tolerance) to the implemented clutch model. This is the recommended mode.
-
The clutch model remains the same if either eESTIMATE or eBEST_POSSIBLE is chosen but the accuracy and computational cost of the solution to the model can be tuned as required.
◆ mEstimateIterations
PxU32 PxVehicleClutchData::mEstimateIterations |
Tune the mathematical accuracy and computational cost of the computed estimate to the wheel and engine rotation speeds if eESTIMATE is chosen.
- Note
- As mEstimateIterations increases the computational cost of the clutch also increases and the solution approaches the solution that would be computed if eBEST_POSSIBLE was chosen instead.
-
This has no effect if eBEST_POSSIBLE is chosen as the accuracy mode.
-
A value of zero is not allowed if eESTIMATE is chosen as the accuracy mode.
◆ mPad
PxU8 PxVehicleClutchData::mPad[4] |
|
private |
◆ mStrength
PxReal PxVehicleClutchData::mStrength |
Strength of clutch.
- Note
- The clutch is the mechanism that couples the engine to the wheels. A stronger clutch more strongly couples the engine to the wheels, while a clutch of strength zero completely decouples the engine from the wheels. Stronger clutches more quickly bring the wheels and engine into equilibrium, while weaker clutches take longer, resulting in periods of clutch slip and delays in power transmission from the engine to the wheels. The torque generated by the clutch is proportional to the clutch strength and the velocity difference between the engine's rotational speed and the rotational speed of the driven wheels after accounting for the gear ratio. The torque at the clutch is applied negatively to the engine and positively to the driven wheels.
-
Specified in kilograms metres-squared per second (kg m^2 s^-1)
Range: [0,PX_MAX_F32)
The documentation for this class was generated from the following file: