PxVehicleDirectDriveActuationStateUpdate

Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainFunctions.h

void PxVehicleDirectDriveActuationStateUpdate(const PxReal brakeTorque, const PxReal driveTorque, PxVehicleWheelActuationState &actuationState)

Determine the actuation state of a wheel given the brake torque, handbrake torque and drive torque applied to it.

Parameters
  • brakeTorque[in] is the brake torque to be applied to the wheel.

  • driveTorque[in] is the drive torque to be applied to the wheel.

  • actuationState[out] contains a binary record of whether brake or drive torque is applied to the wheel.