PxVehicleEngineDampingRateCompute
Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainHelpers.h
-
inline PxReal PxVehicleEngineDampingRateCompute(const PxVehicleEngineParams &engineParams, const PxVehicleGearboxParams &gearboxParams, const PxVehicleGearboxState &gearboxState, const PxVehicleClutchCommandResponseState &clutchResponseState, const PxVehicleEngineDriveThrottleCommandResponseState &throttleResponseState)
Compute the damping rate of the engine.
See also
Note
Engines typically have different damping rates with clutch engaged and disengaged.
Note
Engines typically have different damping rates at different throttle pedal values.
Note
In neutral gear the clutch is considered to be fully disengaged.
- Parameters
engineParams – [in] describes various damping rates of the engine in different operational states.
gearboxParams – [in] holds the index of neutral gear.
gearboxState – [in] describes the current gear.
clutchResponseState – [in] is the response of the clutch to the clutch command.
throttleResponseState – [in] is the response of the throttle to the throttle command.