PxVehiclePvdCommandResponseWrite
Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h
-
void PxVehiclePvdCommandResponseWrite(const PxVehicleAxleDescription &axleDesc, const PxVehicleSizedArrayData<const PxVehicleBrakeCommandResponseParams> &brakeResponseParams, const PxVehicleSteerCommandResponseParams *steerResponseParams, const PxVehicleAckermannParams *ackermannParams, const PxVehicleArrayData<PxReal> &brakeResponseStates, const PxVehicleArrayData<PxReal> &steerResponseStates, const PxVehiclePvdAttributeHandles &attributeHandles, const PxVehiclePvdObjectHandles &objectHandles, OmniPvdWriter &omniWriter)
Write brake and steer command response parameters to omnipvd.
See also
PxVehiclePvdAttributesCreate
See also
PxVehiclePvdObjectCreate
See also
PxVehiclePvdCommandResponseRegister
Note
If brakeResponseParams is empty but a non-empty array was used in PxVehiclePvdCommandResponseRegister(), the brake command response parameters will not be updated in omnipvd.
Note
If steerResponseParams is non-NULL but a NULL value was used in PxVehiclePvdCommandResponseRegister(), the steer command parameters will not be updated in omnipvd.
Note
If ackermannParams is non-NULL but a NULL value was used in PxVehiclePvdCommandResponseRegister(), the Ackermann steer correction parameters will not be updated in omnipvd.
Note
If brakeResponseStates is empty but a non-empty array was used in PxVehiclePvdCommandResponseRegister(), the brake response states will not be updated in omnipvd.
Note
If steerResponseStates is empty but a non-empty array was used in PxVehiclePvdCommandResponseRegister(), the steer response states will not be updated in omnipvd.
Note
omniWriter must be the same instance used in PxVehiclePvdCommandResponseRegister().
- Parameters
axleDesc – [in] is a description of the wheels and axles of a vehicle.
brakeResponseParams – [in] is an array of brake command response parameters.
steerResponseParams – [in] describes the steer command response parameters.
ackermannParams – [in] defines the Ackermann steer correction.
brakeResponseStates – [in] is an array of brake response torques.
steerResponseStates – [in] is an array of steer response angles.
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.