PxVehicleEngineDriveTorqueCompute#
Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainHelpers.h
- inline PxReal PxVehicleEngineDriveTorqueCompute(
- const PxVehicleEngineParams &engineParams,
- const PxVehicleEngineState &engineState,
- const PxVehicleEngineDriveThrottleCommandResponseState &throttleCommandResponseState,
Compute the drive torque to deliver to the engine.
- Parameters:
engineParams – [in] describes the profile of maximum available torque across the full range of engine rotational speed.
engineState – [in] describes the engine rotational speed.
throttleCommandResponseState – [in] describes the engine’s response to input throttle command.