PxVehiclePvdWheelAttachmentsRegister

Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h

void PxVehiclePvdWheelAttachmentsRegister(const PxVehicleAxleDescription &axleDesc, const PxVehicleArrayData<const PxVehicleWheelParams> &wheelParams, const PxVehicleArrayData<const PxVehicleWheelActuationState> &wheelActuationStates, const PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidBody1dStates, const PxVehicleArrayData<const PxVehicleWheelLocalPose> &wheelLocalPoses, const PxVehicleArrayData<const PxVehicleRoadGeometryState> &roadGeometryStates, const PxVehicleArrayData<const PxVehicleSuspensionParams> &suspParams, const PxVehicleArrayData<const PxVehicleSuspensionComplianceParams> &suspCompParams, const PxVehicleArrayData<const PxVehicleSuspensionForceParams> &suspForceParams, const PxVehicleArrayData<const PxVehicleSuspensionState> &suspStates, const PxVehicleArrayData<const PxVehicleSuspensionComplianceState> &suspCompStates, const PxVehicleArrayData<const PxVehicleSuspensionForce> &suspForces, const PxVehicleArrayData<const PxVehicleTireForceParams> &tireForceParams, const PxVehicleArrayData<const PxVehicleTireDirectionState> &tireDirectionStates, const PxVehicleArrayData<const PxVehicleTireSpeedState> &tireSpeedStates, const PxVehicleArrayData<const PxVehicleTireSlipState> &tireSlipStates, const PxVehicleArrayData<const PxVehicleTireStickyState> &tireStickyStates, const PxVehicleArrayData<const PxVehicleTireGripState> &tireGripStates, const PxVehicleArrayData<const PxVehicleTireCamberAngleState> &tireCamberStates, const PxVehicleArrayData<const PxVehicleTireForce> &tireForces, const PxVehiclePvdAttributeHandles &attributeHandles, PxVehiclePvdObjectHandles *objectHandles, OmniPvdWriter *omniWriter)

Register object instances in omnipvd that will be used to reflect wheel attachment data such as tires, suspensions and wheels.

Note

If any array is empty, the corresponding data will not be reflected in omnipvd.

Note

Each array must either be empty or contain an entry for each wheel present in axleDesc.

Note

objectHandles must be non-NULL

Note

omniWriter must be non-NULL

Parameters
  • axleDesc[in] is a description of the wheels and axles of a vehicle.

  • wheelParams[in] is an array of wheel parameters.

  • wheelActuationStates[in] is an array of wheel actuation states.

  • wheelRigidBody1dStates[in] is an array of wheel rigid body states.

  • wheelLocalPoses[in] is an array of wheel local poses.

  • roadGeometryStates[in] is an array of road geometry states.

  • suspParams[in] is an array of suspension parameters.

  • suspCompParams[in] is an array of suspension compliance parameters.

  • suspForceParams[in] is an array of suspension force parameters.

  • suspStates[in] is an array of suspension states.

  • suspCompStates[in] is an array of suspension compliance states.

  • suspForces[in] is an array of suspension forces.

  • tireForceParams[in] is an array of tire force parameters.

  • tireDirectionStates[in] is an array of tire direction states.

  • tireSpeedStates[in] is an array of tire speed states.

  • tireSlipStates[in] is an array of tire slip states.

  • tireStickyStates[in] is an array of tire sticky states.

  • tireGripStates[in] is an array of tire grip states.

  • tireCamberStates[in] is an array of tire camber states.

  • tireForces[in] is an array of tire forces.

  • attributeHandles[in] contains a general description of vehicle parameters and states that will be reflected in omnipvd.

  • objectHandles[in] contains unique handles for the parameters and states of each vehicle instance.

  • omniWriter[in] is an OmniPvdWriter instance used to communicate state and parameter data to omnipvd.