PxVehicleWheelComponent

Defined in include/vehicle2/wheel/PxVehicleWheelComponents.h

class PxVehicleWheelComponent : public PxVehicleComponent

Public Functions

inline PxVehicleWheelComponent()
inline virtual ~PxVehicleWheelComponent()
virtual void getDataForWheelComponent(const PxVehicleAxleDescription *&axleDescription, PxVehicleArrayData<const PxReal> &steerResponseStates, PxVehicleArrayData<const PxVehicleWheelParams> &wheelParams, PxVehicleArrayData<const PxVehicleSuspensionParams> &suspensionParams, PxVehicleArrayData<const PxVehicleWheelActuationState> &actuationStates, PxVehicleArrayData<const PxVehicleSuspensionState> &suspensionStates, PxVehicleArrayData<const PxVehicleSuspensionComplianceState> &suspensionComplianceStates, PxVehicleArrayData<const PxVehicleTireSpeedState> &tireSpeedStates, PxVehicleArrayData<PxVehicleWheelRigidBody1dState> &wheelRigidBody1dStates, PxVehicleArrayData<PxVehicleWheelLocalPose> &wheelLocalPoses) = 0
inline virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context)

Update function for a vehicle component.

See also

PxVehicleComponentSequence

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.