PxVehicleEngineDriveActuationStateComponent
Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainComponents.h
-
class PxVehicleEngineDriveActuationStateComponent : public PxVehicleComponent
Determine the actuation state for each wheel for a vehicle propelled by engine torque.
See also
PxVehicleEngineDriveActuationStateUpdate
Note
The actuation state for each wheel contains a binary record of whether brake and drive torque are to be applied to the wheel.
Public Functions
-
inline PxVehicleEngineDriveActuationStateComponent()
-
inline virtual ~PxVehicleEngineDriveActuationStateComponent()
-
virtual void getDataForEngineDriveActuationStateComponent(const PxVehicleAxleDescription *&axleDescription, const PxVehicleGearboxParams *&gearboxParams, PxVehicleArrayData<const PxReal> &brakeResponseStates, const PxVehicleEngineDriveThrottleCommandResponseState *&throttleResponseState, const PxVehicleGearboxState *&gearboxState, const PxVehicleDifferentialState *&differentialState, const PxVehicleClutchCommandResponseState *&clutchResponseState, PxVehicleArrayData<PxVehicleWheelActuationState> &actuationStates) = 0
-
inline virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context)
Update function for a vehicle component.
See also
PxVehicleComponentSequence
- Parameters
dt – [in] The timestep size to use for the update step.
context – [in] Vehicle simulation context holding global data or data that usually applies to a large group of vehicles.
- Returns
True if subsequent components in a sequence should get updated, false if the sequence should be aborted.
-
inline PxVehicleEngineDriveActuationStateComponent()