PxVehicleMultiWheelDriveDifferentialStateComponent

Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainComponents.h

Inheritance Relationships

Base Type

class PxVehicleMultiWheelDriveDifferentialStateComponent : public PxVehicleComponent

Compute the per wheel drive torque split of a multi-wheel drive differential.

Public Functions

inline PxVehicleMultiWheelDriveDifferentialStateComponent()
inline virtual ~PxVehicleMultiWheelDriveDifferentialStateComponent()
virtual void getDataForMultiWheelDriveDifferentialStateComponent(const PxVehicleAxleDescription *&axleDescription, const PxVehicleMultiWheelDriveDifferentialParams *&differentialParams, PxVehicleDifferentialState *&differentialState) = 0
inline virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context)

Update function for a vehicle component.

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.