PxVehicleClutchStrengthCompute

Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainHelpers.h

inline PxReal PxVehicleClutchStrengthCompute(const PxVehicleClutchCommandResponseState &clutchResponseState, const PxVehicleGearboxParams &gearboxParams, const PxVehicleGearboxState &gearboxState)

Compute the coupling strength of the clutch.

Note

If the gear is in neutral the clutch is fully disengaged and the clutch strength is 0.

Note

A clutch response state of 0.0 denotes a fully engaged clutch with maximum strength.

Note

A clutch response state of 1.0 denotes a fully disengaged clutch with a strength of 0.0.

Parameters
  • clutchResponseState[in] describes the response of the clutch to the input clutch command.

  • gearboxParams[in] holds the index of neutral gear.

  • gearboxState[in] describes the current gear.