PxVehicleLinearResponseCompute#

Defined in include/vehicle2/commands/PxVehicleCommandHelpers.h

inline PxReal PxVehicleLinearResponseCompute(
const PxReal command,
const PxU32 wheelId,
const PxVehicleCommandResponseParams &responseParams,
)#

Compute the linear response to a command.

Parameters:
  • command[in] is a normalised command value.

  • wheelId[in] specifies the wheel that is to respond to the command.

  • responseParams[in] specifies the wheel responses for all wheels on a vehicle.

Returns:

The linear response of the specified wheel to the command.