PxVehicleTireCamberAnglesUpdate

Defined in include/vehicle2/tire/PxVehicleTireFunctions.h

void PxVehicleTireCamberAnglesUpdate(const PxVehicleSuspensionParams &suspensionParams, const PxReal steerAngle, const PxVec3 &groundNormal, bool isWheelOnGround, const PxVehicleSuspensionComplianceState &complianceState, const PxVehicleRigidBodyState &rigidBodyState, const PxVehicleFrame &frame, PxVehicleTireCamberAngleState &tireCamberAngleState)

Compute the camber angle of the wheel.

Parameters
  • suspensionParams[in] describes the frame of the suspension and wheel.

  • steerAngle[in] is the steer angle in radians to be applied to the wheel.

  • groundNormal[in] describes the plane normal of the road geometry under the wheel.

  • isWheelOnGround[in] defines whether the wheel touches the road geometry.

  • complianceState[in] is a description of the camber and toe angle that arise from suspension compliance.

  • rigidBodyState[in] describes the current pose of the vehicle’s rigid body in the world frame.

  • frame[in] is a description of the vehicle’s lateral and longitudinal axes.

  • tireCamberAngleState[out] is the computed camber angle of the tire expressed in radians.