PxVehicleFourWheelDriveDifferentialStateComponent#
Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainComponents.h
- 
class PxVehicleFourWheelDriveDifferentialStateComponent : public PxVehicleComponent#
- Compute the per wheel drive torque split of a differential delivering torque to multiple wheels with limited slip applied to specified wheel pairs. - See also - PxVehicleDifferentialStateUpdate - Public Functions - 
inline PxVehicleFourWheelDriveDifferentialStateComponent()#
 - 
inline virtual ~PxVehicleFourWheelDriveDifferentialStateComponent()#
 - virtual void getDataForFourWheelDriveDifferentialStateComponent(
- const PxVehicleAxleDescription *&axleDescription,
- const PxVehicleFourWheelDriveDifferentialParams *&differentialParams,
- PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidbody1dStates,
- PxVehicleDifferentialState *&differentialState,
- PxVehicleWheelConstraintGroupState *&wheelConstraintGroupState,
 
 - inline virtual bool update(
- const PxReal dt,
- const PxVehicleSimulationContext &context,
- Update function for a vehicle component. - See also - Parameters:
- dt – [in] The timestep size to use for the update step. 
- context – [in] Vehicle simulation context holding global data or data that usually applies to a large group of vehicles. 
 
- Returns:
- True if subsequent components in a sequence should get updated, false if the sequence should be aborted. 
 
 
 
- 
inline PxVehicleFourWheelDriveDifferentialStateComponent()#