PxVehicleLegacyDifferentialWheelSpeedContributionsCompute
Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainHelpers.h
-
void PxVehicleLegacyDifferentialWheelSpeedContributionsCompute(const PxVehicleFourWheelDriveDifferentialLegacyParams &diffParams, const PxU32 nbWheels, PxReal *diffAveWheelSpeedContributions)
Compute the contribution that each wheel makes to the averaged wheel speed at the clutch plate connected to the wheels driven by the differential.
- Deprecated:
This API was introduced with the new Vehicle API for transition purposes but will be removed in a future version.
Note
Any wheel on an axle connected to the differential could have a non-zero value, depending on the way the differential couples to the wheels.
Note
Any wheel on an axle not connected to the differential will have a zero contribution to the averaged wheel speed.
- Parameters
diffParams – [in] describes the wheels coupled to the differential and the operation of the torque split at the differential.
nbWheels – [in] The number of wheels. Can be larger than the number of wheels connected to the differential.
diffAveWheelSpeedContributions – [out] describes the contribution that each wheel makes to the averaged wheel speed at the clutch. The buffer needs to be sized to be able to hold at least nbWheels entries.