PxVehiclePvdDirectDrivetrainWrite
Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h
-
void PxVehiclePvdDirectDrivetrainWrite(const PxVehicleAxleDescription &axleDesc, const PxVehicleCommandState *commandState, const PxVehicleDirectDriveTransmissionCommandState *transmissionCommandState, const PxVehicleDirectDriveThrottleCommandResponseParams *directDriveThrottleResponseParams, const PxVehicleArrayData<PxReal> &directDriveThrottleResponseState, const PxVehiclePvdAttributeHandles &attributeHandles, const PxVehiclePvdObjectHandles &objectHandles, OmniPvdWriter *omniWriter)
Write direct drivetrain data to omnipvd.
See also
See also
See also
Note
If commandState is NULL but the corresponding entry in PxVehiclePvdDirectDrivetrainRegister() was not NULL, the corresponding data will not be updated in omnipvd.
Note
If transmissionCommandState is NULL but the corresponding entry in PxVehiclePvdDirectDrivetrainRegister() was not NULL, the corresponding data will not be updated in omnipvd.
Note
If directDriveThrottleResponseParams is NULL but the corresponding entry in PxVehiclePvdDirectDrivetrainRegister() was not NULL, the corresponding data will not be updated in omnipvd.
Note
If directDriveThrottleResponseState is empty but the corresponding entry in PxVehiclePvdDirectDrivetrainRegister() was not empty, the corresponding data will not be updated in omnipvd.
Note
omniWriter must be non-NULL
- Parameters
axleDesc – [in] is a description of the wheels and axles of a vehicle.
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.