PxVehiclePvdDirectDrivetrainRegister

Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h

void PxVehiclePvdDirectDrivetrainRegister(const PxVehicleCommandState *commandState, const PxVehicleDirectDriveTransmissionCommandState *transmissionCommandState, const PxVehicleDirectDriveThrottleCommandResponseParams *directDriveThrottleResponseParams, const PxVehicleArrayData<PxReal> &directDriveThrottleResponseState, const PxVehiclePvdAttributeHandles &attributeHandles, PxVehiclePvdObjectHandles *objectHandles, OmniPvdWriter *omniWriter)

Register object instances in omnipvd that will be used to reflect the direct drivetrain of a vehicle instance.

Note

If commandState is NULL, the corresponding data will not be reflected in omnipvd.

Note

If transmissionCommandState is NULL, the corresponding data will not be reflected in omnipvd.

Note

If directDriveThrottleResponseParams is NULL, the corresponding data will not be reflected in omnipvd.

Note

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

Note

objectHandles must be non-NULL

Note

omniWriter must be non-NULL

Parameters
  • commandState[in] describes the control values applied to the vehicle.

  • transmissionCommandState[in] describes the state of the direct drive transmission.

  • directDriveThrottleResponseParams[in] describes the vehicle’s torque response to a throttle command.

  • directDriveThrottleResponseState[in] is the instantaneous torque response of each wheel to a throttle command.

  • 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.