|
RavEngine
|
Compute the per wheel drive torque split of a tank drive differential. More...
#include <PxVehicleDrivetrainComponents.h>
Public Member Functions | |
| virtual void | getDataForTankDriveDifferentialStateComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehicleTankDriveTransmissionCommandState *&transmissionCommands, PxVehicleArrayData< const PxVehicleWheelParams > &wheelParams, const PxVehicleTankDriveDifferentialParams *&differentialParams, PxVehicleDifferentialState *&differentialState, PxVehicleWheelConstraintGroupState *&constraintGroupState)=0 |
| Provide vehicle data items for this component. | |
| virtual bool | update (const PxReal dt, const PxVehicleSimulationContext &context) |
| Update function for a vehicle component. | |
Compute the per wheel drive torque split of a tank drive differential.
|
pure virtual |
Provide vehicle data items for this component.
| [out] | axleDescription | identifies the wheels on each axle. |
| [out] | transmissionCommands | specifies the values of the thrust controllers that divert torque to the tank tracks. |
| [out] | wheelParams | is an array describing the radius of each wheel. |
| [out] | differentialParams | describes the operation of the tank differential by specifying the default torque split between all wheels connected to the differential and by specifying the wheels coupled to each tank track. |
| [out] | differentialState | stores the instantaneous torque split between all wheels arising from the difference between the thrust controllers. |
| [out] | constraintGroupState | stores the groups of wheels that are connected by sharing a tank track. |
Implemented in snippetvehicle2::EngineDriveVehicle.
|
inlinevirtual |
Update function for a vehicle component.
| [in] | dt | The timestep size to use for the update step. |
| [in] | context | Vehicle simulation context holding global data or data that usually applies to a large group of vehicles. |
Implements physx::vehicle2::PxVehicleComponent.