PxVehicleTireComponent
Defined in include/vehicle2/tire/PxVehicleTireComponents.h
Inheritance Relationships
Base Type
public PxVehicleComponent
(PxVehicleComponent)
-
class PxVehicleTireComponent : public PxVehicleComponent
Public Functions
-
inline PxVehicleTireComponent()
-
inline virtual ~PxVehicleTireComponent()
-
virtual void getDataForTireComponent(const PxVehicleAxleDescription *&axleDescription, PxVehicleArrayData<const PxReal> &steerResponseStates, const PxVehicleRigidBodyState *&rigidBodyState, PxVehicleArrayData<const PxVehicleWheelActuationState> &actuationStates, PxVehicleArrayData<const PxVehicleWheelParams> &wheelParams, PxVehicleArrayData<const PxVehicleSuspensionParams> &suspensionParams, PxVehicleArrayData<const PxVehicleTireForceParams> &tireForceParams, PxVehicleArrayData<const PxVehicleRoadGeometryState> &roadGeomStates, PxVehicleArrayData<const PxVehicleSuspensionState> &suspensionStates, PxVehicleArrayData<const PxVehicleSuspensionComplianceState> &suspensionComplianceStates, PxVehicleArrayData<const PxVehicleSuspensionForce> &suspensionForces, PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidBody1DStates, PxVehicleArrayData<PxVehicleTireGripState> &tireGripStates, PxVehicleArrayData<PxVehicleTireDirectionState> &tireDirectionStates, PxVehicleArrayData<PxVehicleTireSpeedState> &tireSpeedStates, PxVehicleArrayData<PxVehicleTireSlipState> &tireSlipStates, PxVehicleArrayData<PxVehicleTireCamberAngleState> &tireCamberAngleStates, PxVehicleArrayData<PxVehicleTireStickyState> &tireStickyStates, PxVehicleArrayData<PxVehicleTireForce> &tireForces) = 0
-
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 PxVehicleTireComponent()