PxVehiclePVDComponent
Defined in include/vehicle2/pvd/PxVehiclePvdComponents.h
-
class PxVehiclePVDComponent : public PxVehicleComponent
Public Functions
-
inline PxVehiclePVDComponent()
-
inline virtual ~PxVehiclePVDComponent()
-
virtual void getDataForPVDComponent(const PxVehicleAxleDescription *&axleDescription, const PxVehicleRigidBodyParams *&rbodyParams, const PxVehicleRigidBodyState *&rbodyState, const PxVehicleSuspensionStateCalculationParams *&suspStateCalcParams, PxVehicleSizedArrayData<const PxVehicleBrakeCommandResponseParams> &brakeResponseParams, const PxVehicleSteerCommandResponseParams *&steerResponseParams, const PxVehicleAckermannParams *&ackermannParams, PxVehicleArrayData<PxReal> &brakeResponseStates, PxVehicleArrayData<PxReal> &steerResponseStates, PxVehicleArrayData<const PxVehicleWheelParams> &wheelParams, PxVehicleArrayData<const PxVehicleWheelActuationState> &wheelActuationStates, PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidBody1dStates, PxVehicleArrayData<const PxVehicleWheelLocalPose> &wheelLocalPoses, PxVehicleArrayData<const PxVehicleRoadGeometryState> &roadGeomStates, PxVehicleArrayData<const PxVehicleSuspensionParams> &suspParams, PxVehicleArrayData<const PxVehicleSuspensionComplianceParams> &suspCompParams, PxVehicleArrayData<const PxVehicleSuspensionForceParams> &suspForceParams, PxVehicleArrayData<const PxVehicleSuspensionState> &suspStates, PxVehicleArrayData<const PxVehicleSuspensionComplianceState> &suspCompStates, PxVehicleArrayData<const PxVehicleSuspensionForce> &suspForces, PxVehicleArrayData<const PxVehicleTireForceParams> &tireForceParams, PxVehicleArrayData<const PxVehicleTireDirectionState> &tireDirectionStates, PxVehicleArrayData<const PxVehicleTireSpeedState> &tireSpeedStates, PxVehicleArrayData<const PxVehicleTireSlipState> &tireSlipStates, PxVehicleArrayData<const PxVehicleTireStickyState> &tireStickyStates, PxVehicleArrayData<const PxVehicleTireGripState> &tireGripStates, PxVehicleArrayData<const PxVehicleTireCamberAngleState> &tireCamberStates, PxVehicleArrayData<const PxVehicleTireForce> &tireForces, PxVehicleSizedArrayData<const PxVehicleAntiRollForceParams> &antiRollForceParams, const PxVehicleAntiRollTorque *&antiRollTorque, const PxVehicleCommandState *&commandState, const PxVehicleDirectDriveThrottleCommandResponseParams *&directDriveThrottleResponseParams, const PxVehicleDirectDriveTransmissionCommandState *&directDriveTransmissionState, PxVehicleArrayData<PxReal> &directDrivethrottleResponseState, const PxVehicleClutchCommandResponseParams *&clutchResponseParams, const PxVehicleClutchParams *&clutchParams, const PxVehicleEngineParams *&engineParams, const PxVehicleGearboxParams *&gearboxParams, const PxVehicleAutoboxParams *&autoboxParams, const PxVehicleMultiWheelDriveDifferentialParams *&multiWheelDiffParams, const PxVehicleFourWheelDriveDifferentialParams *&fourWheelDiffParams, const PxVehicleTankDriveDifferentialParams *&tankDiffParams, const PxVehicleEngineDriveTransmissionCommandState *&engineDriveTransmissionState, const PxVehicleTankDriveTransmissionCommandState *&tankDriveTransmissionState, const PxVehicleClutchCommandResponseState *&clutchResponseState, const PxVehicleEngineDriveThrottleCommandResponseState *&engineDriveThrottleResponseState, const PxVehicleEngineState *&engineState, const PxVehicleGearboxState *&gearboxState, const PxVehicleAutoboxState *&autoboxState, const PxVehicleDifferentialState *&diffState, const PxVehicleClutchSlipState *&clutchSlipState, PxVehicleArrayData<const PxVehiclePhysXSuspensionLimitConstraintParams> &physxConstraintParams, PxVehicleArrayData<const PxVehiclePhysXMaterialFrictionParams> &physxMaterialFrictionParams, const PxVehiclePhysXActor *&physxActor, const PxVehiclePhysXRoadGeometryQueryParams *&physxRoadGeomQryParams, PxVehicleArrayData<const PxVehiclePhysXRoadGeometryQueryState> &physxRoadGeomStates, PxVehicleArrayData<const PxVehiclePhysXConstraintState> &physxConstraintStates, const PxVehiclePhysXSteerState *&physxSteerState, PxVehiclePvdObjectHandles *&objectHandles) = 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 PxVehiclePVDComponent()